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