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