Struct simple_units::conversion::MilYear
[−]
[src]
pub struct MilYear(pub f64);
Trait Implementations
impl Debug for MilYear
[src]
impl Clone for MilYear
[src]
fn clone(&self) -> MilYear
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 MilYear
[src]
impl PartialEq for MilYear
[src]
fn eq(self: &MilYear, MilYear: &MilYear) -> 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 MilYear
[src]
type Output = MilYear
The resulting type after applying the +
operator
fn add(self: MilYear, MilYear: MilYear) -> MilYear
The method for the +
operator
impl Sub for MilYear
[src]
type Output = MilYear
The resulting type after applying the -
operator
fn sub(self: MilYear, MilYear: MilYear) -> MilYear
The method for the -
operator
impl Mul<f64> for MilYear
[src]
type Output = MilYear
The resulting type after applying the *
operator
fn mul(self: MilYear, rhs: f64) -> MilYear
The method for the *
operator
impl Div<f64> for MilYear
[src]
type Output = MilYear
The resulting type after applying the /
operator
fn div(self: MilYear, rhs: f64) -> MilYear
The method for the /
operator
impl Div<MilYear> for MilYear
[src]
type Output = f64
The resulting type after applying the /
operator
fn div(self: MilYear, MilYear: MilYear) -> f64
The method for the /
operator