Struct metfor::WindSpdDir
source · Expand description
Wind direction and speed in knots.
Fields
speed_kt: f64
direction: f64
Trait Implementations
sourceimpl<T> Add<T> for WindSpdDirwhere
WindSpdDir: From<T> + VectorQuantity,
T: VectorQuantity,
impl<T> Add<T> for WindSpdDirwhere
WindSpdDir: From<T> + VectorQuantity,
T: VectorQuantity,
type Output = WindSpdDir
type Output = WindSpdDir
The resulting type after applying the
+
operator.sourcefn add(self, rhs: T) -> WindSpdDir
fn add(self, rhs: T) -> WindSpdDir
Performs the
+
operation. Read moresourceimpl<T> AddAssign<T> for WindSpdDirwhere
WindSpdDir: From<T> + VectorQuantity,
T: VectorQuantity,
impl<T> AddAssign<T> for WindSpdDirwhere
WindSpdDir: From<T> + VectorQuantity,
T: VectorQuantity,
sourcefn add_assign(&mut self, rhs: T)
fn add_assign(&mut self, rhs: T)
Performs the
+=
operation. Read moresourceimpl Clone for WindSpdDir
impl Clone for WindSpdDir
sourcefn clone(&self) -> WindSpdDir
fn clone(&self) -> WindSpdDir
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WindSpdDir
impl Debug for WindSpdDir
sourceimpl Display for WindSpdDir
impl Display for WindSpdDir
sourceimpl From<WindSpdDir> for WindUV
impl From<WindSpdDir> for WindUV
sourcefn from(wind: WindSpdDir) -> Self
fn from(wind: WindSpdDir) -> Self
Converts to this type from the input type.
sourceimpl From<WindUV> for WindSpdDir
impl From<WindUV> for WindSpdDir
sourceimpl<T> PartialEq<T> for WindSpdDirwhere
WindSpdDir: From<T> + VectorQuantity,
T: VectorQuantity,
impl<T> PartialEq<T> for WindSpdDirwhere
WindSpdDir: From<T> + VectorQuantity,
T: VectorQuantity,
sourceimpl<T> Sub<T> for WindSpdDirwhere
WindSpdDir: From<T> + VectorQuantity,
T: VectorQuantity,
impl<T> Sub<T> for WindSpdDirwhere
WindSpdDir: From<T> + VectorQuantity,
T: VectorQuantity,
type Output = WindSpdDir
type Output = WindSpdDir
The resulting type after applying the
-
operator.sourcefn sub(self, rhs: T) -> WindSpdDir
fn sub(self, rhs: T) -> WindSpdDir
Performs the
-
operation. Read moresourceimpl<T> SubAssign<T> for WindSpdDirwhere
WindSpdDir: From<T> + VectorQuantity,
T: VectorQuantity,
impl<T> SubAssign<T> for WindSpdDirwhere
WindSpdDir: From<T> + VectorQuantity,
T: VectorQuantity,
sourcefn sub_assign(&mut self, rhs: T)
fn sub_assign(&mut self, rhs: T)
Performs the
-=
operation. Read moresourceimpl VectorQuantity for WindSpdDir
impl VectorQuantity for WindSpdDir
sourcefn pack_xy(vals: (f64, f64)) -> Self
fn pack_xy(vals: (f64, f64)) -> Self
Create a new instance of self by wrapping some values. This must be x-y coordinates from the
standard cartesian coordinate system. Read more
sourcefn unpack_xy(self) -> (f64, f64)
fn unpack_xy(self) -> (f64, f64)
Unpack a wrapped value without any error checking. The returned values represent the vector
in a standard x-y cartesian coordinate system. Read more
impl Copy for WindSpdDir
impl Wind for WindSpdDir
Auto Trait Implementations
impl RefUnwindSafe for WindSpdDir
impl Send for WindSpdDir
impl Sync for WindSpdDir
impl Unpin for WindSpdDir
impl UnwindSafe for WindSpdDir
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more