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