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