Struct simple_units::conversion::Yard
[−]
[src]
pub struct Yard(pub f64);
Trait Implementations
impl Debug for Yard
[src]
impl Clone for Yard
[src]
fn clone(&self) -> Yard
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Yard
[src]
impl PartialEq for Yard
[src]
fn eq(self: &Yard, Yard: &Yard) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Add for Yard
[src]
type Output = Yard
The resulting type after applying the +
operator
fn add(self: Yard, Yard: Yard) -> Yard
The method for the +
operator
impl Sub for Yard
[src]
type Output = Yard
The resulting type after applying the -
operator
fn sub(self: Yard, Yard: Yard) -> Yard
The method for the -
operator
impl Mul<f64> for Yard
[src]
type Output = Yard
The resulting type after applying the *
operator
fn mul(self: Yard, rhs: f64) -> Yard
The method for the *
operator
impl Div<f64> for Yard
[src]
type Output = Yard
The resulting type after applying the /
operator
fn div(self: Yard, rhs: f64) -> Yard
The method for the /
operator
impl Div<Yard> for Yard
[src]
type Output = f64
The resulting type after applying the /
operator
fn div(self: Yard, Yard: Yard) -> f64
The method for the /
operator