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