pub struct watt_per_kilogram;Expand description
Derived unit of specific power.
Trait Implementations§
Source§impl Clone for watt_per_kilogram
impl Clone for watt_per_kilogram
Source§fn clone(&self) -> watt_per_kilogram
fn clone(&self) -> watt_per_kilogram
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Conversion<Complex<f64>> for watt_per_kilogram
impl Conversion<Complex<f64>> for watt_per_kilogram
Source§fn coefficient() -> <watt_per_kilogram as Conversion<Complex<f64>>>::T
fn coefficient() -> <watt_per_kilogram as Conversion<Complex<f64>>>::T
Coefficient portion of conversion factor for
converting the given unit. To convert to the base unit for the quantity use
(value + constant()) * coefficient(). To convert from the base unit, (value / coefficient()) - constant() is used. Implementation should return the multiplicative identity
(Self::T::one()) if no coefficient exists.Source§fn constant(
op: ConstantOp,
) -> <watt_per_kilogram as Conversion<Complex<f64>>>::T
fn constant( op: ConstantOp, ) -> <watt_per_kilogram as Conversion<Complex<f64>>>::T
Constant portion of conversion factor for
converting the given unit. To convert to the base unit for the quantity use
(value + constant()) * coefficient(). To convert from the base unit, (value / coefficient()) - constant() is used. Implementation should return the additive identity (Self::T::zero())
if no constant exists. See ConstantOp documentation for details about parameter use to
ensure the method optimizes correctly.Source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere
Self: Sized,
Instance conversion factor. Read more
Source§impl Conversion<f64> for watt_per_kilogram
impl Conversion<f64> for watt_per_kilogram
Source§fn coefficient() -> <watt_per_kilogram as Conversion<f64>>::T
fn coefficient() -> <watt_per_kilogram as Conversion<f64>>::T
Coefficient portion of conversion factor for
converting the given unit. To convert to the base unit for the quantity use
(value + constant()) * coefficient(). To convert from the base unit, (value / coefficient()) - constant() is used. Implementation should return the multiplicative identity
(Self::T::one()) if no coefficient exists.Source§fn constant(op: ConstantOp) -> <watt_per_kilogram as Conversion<f64>>::T
fn constant(op: ConstantOp) -> <watt_per_kilogram as Conversion<f64>>::T
Constant portion of conversion factor for
converting the given unit. To convert to the base unit for the quantity use
(value + constant()) * coefficient(). To convert from the base unit, (value / coefficient()) - constant() is used. Implementation should return the additive identity (Self::T::zero())
if no constant exists. See ConstantOp documentation for details about parameter use to
ensure the method optimizes correctly.Source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere
Self: Sized,
Instance conversion factor. Read more
Source§impl Debug for watt_per_kilogram
impl Debug for watt_per_kilogram
Source§impl Hash for watt_per_kilogram
impl Hash for watt_per_kilogram
Source§impl Unit for watt_per_kilogram
impl Unit for watt_per_kilogram
impl Conversion<Complex<f64>> for watt_per_kilogram
impl Conversion<f64> for watt_per_kilogram
impl Copy for watt_per_kilogram
impl Unit for watt_per_kilogram
Auto Trait Implementations§
impl Freeze for watt_per_kilogram
impl RefUnwindSafe for watt_per_kilogram
impl Send for watt_per_kilogram
impl Sync for watt_per_kilogram
impl Unpin for watt_per_kilogram
impl UnsafeUnpin for watt_per_kilogram
impl UnwindSafe for watt_per_kilogram
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more