pub struct WindDirection(pub u16);Expand description
Wind direction in degrees (0–360; 0 means unknown/variable).
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl Clone for WindDirection
impl Clone for WindDirection
Source§fn clone(&self) -> WindDirection
fn clone(&self) -> WindDirection
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 moreSource§impl Debug for WindDirection
impl Debug for WindDirection
Source§impl PartialEq for WindDirection
impl PartialEq for WindDirection
Source§fn eq(&self, other: &WindDirection) -> bool
fn eq(&self, other: &WindDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WindDirection
impl Eq for WindDirection
impl StructuralPartialEq for WindDirection
Auto Trait Implementations§
impl Freeze for WindDirection
impl RefUnwindSafe for WindDirection
impl Send for WindDirection
impl Sync for WindDirection
impl Unpin for WindDirection
impl UnsafeUnpin for WindDirection
impl UnwindSafe for WindDirection
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