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