Enum metar::WindDirection
source · pub enum WindDirection {
Heading(u32),
Variable,
Above,
}
Expand description
A representation of wind direction
Variants§
Heading(u32)
A heading defining wind direction
Variable
Wind direction is variable
Above
Wind speed is above 49mps or 99kt
Trait Implementations§
source§impl Clone for WindDirection
impl Clone for WindDirection
source§fn clone(&self) -> WindDirection
fn clone(&self) -> WindDirection
Returns a copy of the value. Read more
1.0.0 · 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 Hash for WindDirection
impl Hash for WindDirection
source§impl PartialEq for WindDirection
impl PartialEq for WindDirection
source§fn eq(&self, other: &WindDirection) -> bool
fn eq(&self, other: &WindDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WindDirection
impl StructuralEq for WindDirection
impl StructuralPartialEq for WindDirection
Auto Trait Implementations§
impl RefUnwindSafe for WindDirection
impl Send for WindDirection
impl Sync for WindDirection
impl Unpin 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