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