Struct metfor::WindUV [−][src]
pub struct WindUV<S> { pub u: S, pub v: S, }
Expand description
Wind in U and V components in m/s.
Fields
u: S
v: S
Trait Implementations
Performs the +=
operation. Read more
Performs the conversion.
Performs the -=
operation. Read more
Create a new instance of self by wrapping some values. This must be x-y coordinates from the standard cartesian coordinate system. Read more
Unpack a wrapped value without any error checking. The returned values represent the vector in a standard x-y cartesian coordinate system. Read more
Unwrap the values from the new type and check validity, panic if contents are invalid. The returned values represent the vector in a standard x-y cartesian coordinate system. Read more
Convert into an option that is None
if the content is invalid. The returned values
represent the vector in a standard x-y cartesian coordinate system. Read more
fn approx_eq<RHS, T, TOL>(self, other: RHS, tol: TOL) -> bool where
Self: From<RHS> + Sub<Self, Output = Self>,
S: From<TOL> + From<T> + PartialOrd,
RHS: VectorQuantity<T>,
T: Quantity,
[src]
fn approx_eq<RHS, T, TOL>(self, other: RHS, tol: TOL) -> bool where
Self: From<RHS> + Sub<Self, Output = Self>,
S: From<TOL> + From<T> + PartialOrd,
RHS: VectorQuantity<T>,
T: Quantity,
[src]Test whether these two vectors are close by looking at the magnitude of their difference.
Auto Trait Implementations
impl<S> RefUnwindSafe for WindUV<S> where
S: RefUnwindSafe,
impl<S> UnwindSafe for WindUV<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more