Struct metfor::WindSpdDir [−][src]
Expand description
Wind direction and speed in knots.
Fields
speed: S
direction: f64
Trait Implementations
impl<T, S> Add<T> for WindSpdDir<S> where
WindSpdDir<S>: From<T> + VectorQuantity<S>,
S: Quantity + Add<S, Output = S>,
[src]
impl<T, S> Add<T> for WindSpdDir<S> where
WindSpdDir<S>: From<T> + VectorQuantity<S>,
S: Quantity + Add<S, Output = S>,
[src]type Output = WindSpdDir<S>
type Output = WindSpdDir<S>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
impl<T, S> AddAssign<T> for WindSpdDir<S> where
WindSpdDir<S>: From<T> + VectorQuantity<S>,
S: Quantity + Add<S, Output = S>,
[src]
impl<T, S> AddAssign<T> for WindSpdDir<S> where
WindSpdDir<S>: From<T> + VectorQuantity<S>,
S: Quantity + Add<S, Output = S>,
[src]Performs the +=
operation. Read more
Performs the conversion.
impl<T, S> PartialEq<T> for WindSpdDir<S> where
WindSpdDir<S>: From<T> + VectorQuantity<S>,
T: Copy,
S: Quantity + PartialEq,
[src]
impl<T, S> PartialEq<T> for WindSpdDir<S> where
WindSpdDir<S>: From<T> + VectorQuantity<S>,
T: Copy,
S: Quantity + PartialEq,
[src]impl<T, S> Sub<T> for WindSpdDir<S> where
WindSpdDir<S>: From<T> + VectorQuantity<S>,
S: Quantity + Sub<S, Output = S>,
[src]
impl<T, S> Sub<T> for WindSpdDir<S> where
WindSpdDir<S>: From<T> + VectorQuantity<S>,
S: Quantity + Sub<S, Output = S>,
[src]type Output = WindSpdDir<S>
type Output = WindSpdDir<S>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
impl<T, S> SubAssign<T> for WindSpdDir<S> where
WindSpdDir<S>: From<T> + VectorQuantity<S>,
S: Quantity + Sub<S, Output = S>,
[src]
impl<T, S> SubAssign<T> for WindSpdDir<S> where
WindSpdDir<S>: From<T> + VectorQuantity<S>,
S: Quantity + Sub<S, Output = S>,
[src]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 WindSpdDir<S> where
S: RefUnwindSafe,
impl<S> Send for WindSpdDir<S> where
S: Send,
impl<S> Sync for WindSpdDir<S> where
S: Sync,
impl<S> Unpin for WindSpdDir<S> where
S: Unpin,
impl<S> UnwindSafe for WindSpdDir<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more