pub struct WindSample {
pub velocity_enu_m_s: DVec3,
pub extrapolated: Option<Side>,
}Expand description
A wind velocity and whether the model extrapolated to produce it.
Fields§
§velocity_enu_m_s: DVec3Velocity of the air in East-North-Up axes, m/s.
extrapolated: Option<Side>Some when the height was below or above a tabulated wind’s levels, or below ground for
a law written above ground; None otherwise. The power and log laws are not flagged above
the surface layer they describe.
Trait Implementations§
Source§impl Clone for WindSample
impl Clone for WindSample
Source§fn clone(&self) -> WindSample
fn clone(&self) -> WindSample
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 WindSample
Source§impl Debug for WindSample
impl Debug for WindSample
Source§impl<'de> Deserialize<'de> for WindSample
impl<'de> Deserialize<'de> for WindSample
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
Source§impl PartialEq for WindSample
impl PartialEq for WindSample
Source§fn eq(&self, other: &WindSample) -> bool
fn eq(&self, other: &WindSample) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WindSample
impl Serialize for WindSample
impl StructuralPartialEq for WindSample
Auto Trait Implementations§
impl Freeze for WindSample
impl RefUnwindSafe for WindSample
impl Send for WindSample
impl Sync for WindSample
impl Unpin for WindSample
impl UnsafeUnpin for WindSample
impl UnwindSafe for WindSample
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