pub struct Wind {
pub dir: Data<WindDirection>,
pub speed: Data<WindSpeed>,
pub varying: Option<(u32, u32)>,
pub gusting: Option<WindSpeed>,
}
Expand description
Wind information.
Fields§
§dir: Data<WindDirection>
The wind direction, in degrees
speed: Data<WindSpeed>
The current wind speed
varying: Option<(u32, u32)>
The direction the wind may be varying between, smaller always comes first
gusting: Option<WindSpeed>
The gusting speed of the wind
Trait Implementations§
source§impl PartialEq for Wind
impl PartialEq for Wind
impl Eq for Wind
impl StructuralEq for Wind
impl StructuralPartialEq for Wind
Auto Trait Implementations§
impl RefUnwindSafe for Wind
impl Send for Wind
impl Sync for Wind
impl Unpin for Wind
impl UnwindSafe for Wind
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