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