[−][src]Struct metfor::WindUV
Wind in U and V components in m/s.
Fields
u: S
v: S
Trait Implementations
impl<S> VectorQuantity<S> for WindUV<S> where
S: Quantity,
[src]
impl<S> VectorQuantity<S> for WindUV<S> where
S: Quantity,
fn pack_xy(vals: (S, S)) -> Self | [src] |
fn unpack_xy(self) -> (S, S) | [src] |
fn unwrap_xy(self) -> (S, S) | [src] |
fn into_option(self) -> Option<(S, S)> | [src] |
fn abs(&self) -> S | [src] |
fn approx_eq<RHS, T, TOL>(self, other: RHS, tol: TOL) -> bool where | [src] |
Test whether these two vectors are close by looking at the magnitude of their difference.
impl<S: Speed> Wind<S> for WindUV<S>
[src]
impl<S: Speed> Wind<S> for WindUV<S>
impl<S: Clone> Clone for WindUV<S>
[src]
impl<S: Clone> Clone for WindUV<S>
fn clone(&self) -> WindUV<S> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl<S1, S2> From<WindUV<S1>> for WindSpdDir<S2> where
S1: Speed,
S2: From<S1>,
S2: Speed,
[src]
impl<S1, S2> From<WindUV<S1>> for WindSpdDir<S2> where
S1: Speed,
S2: From<S1>,
S2: Speed,
impl<S1, S2> From<WindSpdDir<S1>> for WindUV<S2> where
S1: Speed,
S2: From<S1>,
S2: Speed,
[src]
impl<S1, S2> From<WindSpdDir<S1>> for WindUV<S2> where
S1: Speed,
S2: From<S1>,
S2: Speed,
fn from(wind: WindSpdDir<S1>) -> Self | [src] |
impl<S: Copy> Copy for WindUV<S>
[src]
impl<S: Copy> Copy for WindUV<S>
impl<T, S> PartialEq<T> for WindUV<S> where
WindUV<S>: From<T> + VectorQuantity<S>,
T: Copy,
S: Quantity + PartialEq,
[src]
impl<T, S> PartialEq<T> for WindUV<S> where
WindUV<S>: From<T> + VectorQuantity<S>,
T: Copy,
S: Quantity + PartialEq,
fn eq(&self, rhs: &T) -> bool | [src] |
| 1.0.0 [src] |
This method tests for !=
.
impl<S: Debug> Debug for WindUV<S>
[src]
impl<S: Debug> Debug for WindUV<S>
impl<T, S> Add<T> for WindUV<S> where
WindUV<S>: From<T> + VectorQuantity<S>,
S: Quantity + Add<S, Output = S>,
[src]
impl<T, S> Add<T> for WindUV<S> where
WindUV<S>: From<T> + VectorQuantity<S>,
S: Quantity + Add<S, Output = S>,
type Output = WindUV<S>
The resulting type after applying the +
operator.
fn add(self, rhs: T) -> WindUV<S> | [src] |
impl<T, S> Sub<T> for WindUV<S> where
WindUV<S>: From<T> + VectorQuantity<S>,
S: Quantity + Sub<S, Output = S>,
[src]
impl<T, S> Sub<T> for WindUV<S> where
WindUV<S>: From<T> + VectorQuantity<S>,
S: Quantity + Sub<S, Output = S>,
type Output = WindUV<S>
The resulting type after applying the -
operator.
fn sub(self, rhs: T) -> WindUV<S> | [src] |
impl<T, S> AddAssign<T> for WindUV<S> where
WindUV<S>: From<T> + VectorQuantity<S>,
S: Quantity + Add<S, Output = S>,
[src]
impl<T, S> AddAssign<T> for WindUV<S> where
WindUV<S>: From<T> + VectorQuantity<S>,
S: Quantity + Add<S, Output = S>,
fn add_assign(&mut self, rhs: T) | [src] |
impl<T, S> SubAssign<T> for WindUV<S> where
WindUV<S>: From<T> + VectorQuantity<S>,
S: Quantity + Sub<S, Output = S>,
[src]
impl<T, S> SubAssign<T> for WindUV<S> where
WindUV<S>: From<T> + VectorQuantity<S>,
S: Quantity + Sub<S, Output = S>,
fn sub_assign(&mut self, rhs: T) | [src] |
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |