pub struct GustSample {
pub gust_m_s: DVec3,
pub extrapolated: Option<Side>,
}Expand description
A gust and whether it was looked up beyond the end of its field.
Fields§
§gust_m_s: DVec3Gust velocity (u, v, w), m/s.
extrapolated: Option<Side>Some when the distance was outside [0, length] and the end sample was held.
Trait Implementations§
Source§impl Clone for GustSample
impl Clone for GustSample
Source§fn clone(&self) -> GustSample
fn clone(&self) -> GustSample
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 GustSample
Source§impl Debug for GustSample
impl Debug for GustSample
Source§impl<'de> Deserialize<'de> for GustSample
impl<'de> Deserialize<'de> for GustSample
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 GustSample
impl PartialEq for GustSample
Source§fn eq(&self, other: &GustSample) -> bool
fn eq(&self, other: &GustSample) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GustSample
impl Serialize for GustSample
impl StructuralPartialEq for GustSample
Auto Trait Implementations§
impl Freeze for GustSample
impl RefUnwindSafe for GustSample
impl Send for GustSample
impl Sync for GustSample
impl Unpin for GustSample
impl UnsafeUnpin for GustSample
impl UnwindSafe for GustSample
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