pub struct WeatherState {
pub raining: bool,
pub thundering: bool,
}Expand description
Weather state for WeatherCheck condition.
Fields§
§raining: bool§thundering: boolTrait Implementations§
Source§impl Clone for WeatherState
impl Clone for WeatherState
Source§fn clone(&self) -> WeatherState
fn clone(&self) -> WeatherState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WeatherState
Source§impl Debug for WeatherState
impl Debug for WeatherState
Source§impl Default for WeatherState
impl Default for WeatherState
Source§fn default() -> WeatherState
fn default() -> WeatherState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WeatherState
impl RefUnwindSafe for WeatherState
impl Send for WeatherState
impl Sync for WeatherState
impl Unpin for WeatherState
impl UnsafeUnpin for WeatherState
impl UnwindSafe for WeatherState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more