Struct uom::si::mass_per_energy::pound_per_gigawatt_hour
source · pub struct pound_per_gigawatt_hour;
Expand description
pounds per gigawatt hour
Trait Implementations§
source§impl Clone for pound_per_gigawatt_hour
impl Clone for pound_per_gigawatt_hour
source§fn clone(&self) -> pound_per_gigawatt_hour
fn clone(&self) -> pound_per_gigawatt_hour
Returns a copy 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<u16> for pound_per_gigawatt_hour
impl Conversion<u16> for pound_per_gigawatt_hour
source§fn coefficient() -> Self::T
fn coefficient() -> Self::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) -> Self::T
fn constant(op: ConstantOp) -> Self::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<u32> for pound_per_gigawatt_hour
impl Conversion<u32> for pound_per_gigawatt_hour
source§fn coefficient() -> Self::T
fn coefficient() -> Self::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) -> Self::T
fn constant(op: ConstantOp) -> Self::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<u8> for pound_per_gigawatt_hour
impl Conversion<u8> for pound_per_gigawatt_hour
source§fn coefficient() -> Self::T
fn coefficient() -> Self::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) -> Self::T
fn constant(op: ConstantOp) -> Self::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 pound_per_gigawatt_hour
impl Debug for pound_per_gigawatt_hour
source§impl Hash for pound_per_gigawatt_hour
impl Hash for pound_per_gigawatt_hour
source§impl Unit for pound_per_gigawatt_hour
impl Unit for pound_per_gigawatt_hour
impl Conversion<u16> for pound_per_gigawatt_hour
impl Conversion<u32> for pound_per_gigawatt_hour
impl Conversion<u8> for pound_per_gigawatt_hour
impl Copy for pound_per_gigawatt_hour
impl Unit for pound_per_gigawatt_hour
Auto Trait Implementations§
impl Freeze for pound_per_gigawatt_hour
impl RefUnwindSafe for pound_per_gigawatt_hour
impl Send for pound_per_gigawatt_hour
impl Sync for pound_per_gigawatt_hour
impl Unpin for pound_per_gigawatt_hour
impl UnwindSafe for pound_per_gigawatt_hour
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