pub enum TurbulenceSeverity {
Light,
Moderate,
Severe,
}Expand description
Turbulence severity, which sets the low-altitude reference wind.
Variants§
Implementations§
Source§impl TurbulenceSeverity
impl TurbulenceSeverity
Sourcepub fn wind_speed_20_ft_m_s(self) -> f64
pub fn wind_speed_20_ft_m_s(self) -> f64
The wind speed at 20 ft that MIL-F-8785C Figure 9 marks for this severity (15, 30 and 45 kt), m/s.
Trait Implementations§
Source§impl Clone for TurbulenceSeverity
impl Clone for TurbulenceSeverity
Source§fn clone(&self) -> TurbulenceSeverity
fn clone(&self) -> TurbulenceSeverity
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 TurbulenceSeverity
Source§impl Debug for TurbulenceSeverity
impl Debug for TurbulenceSeverity
Source§impl<'de> Deserialize<'de> for TurbulenceSeverity
impl<'de> Deserialize<'de> for TurbulenceSeverity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TurbulenceSeverity
Source§impl Hash for TurbulenceSeverity
impl Hash for TurbulenceSeverity
Source§impl PartialEq for TurbulenceSeverity
impl PartialEq for TurbulenceSeverity
Source§fn eq(&self, other: &TurbulenceSeverity) -> bool
fn eq(&self, other: &TurbulenceSeverity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TurbulenceSeverity
impl Serialize for TurbulenceSeverity
impl StructuralPartialEq for TurbulenceSeverity
Auto Trait Implementations§
impl Freeze for TurbulenceSeverity
impl RefUnwindSafe for TurbulenceSeverity
impl Send for TurbulenceSeverity
impl Sync for TurbulenceSeverity
impl Unpin for TurbulenceSeverity
impl UnsafeUnpin for TurbulenceSeverity
impl UnwindSafe for TurbulenceSeverity
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