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