Struct uom::si::mass_density::slug_per_cubic_meter
source · [−]pub struct slug_per_cubic_meter;
Expand description
slugs per cubic meter
Trait Implementations
sourceimpl Clone for slug_per_cubic_meter
impl Clone for slug_per_cubic_meter
sourcefn clone(&self) -> slug_per_cubic_meter
fn clone(&self) -> slug_per_cubic_meter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Conversion<BigInt> for slug_per_cubic_meter
impl Conversion<BigInt> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<BigUint> for slug_per_cubic_meter
impl Conversion<BigUint> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<Ratio<BigInt>> for slug_per_cubic_meter
impl Conversion<Ratio<BigInt>> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<Ratio<i32>> for slug_per_cubic_meter
impl Conversion<Ratio<i32>> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<Ratio<i64>> for slug_per_cubic_meter
impl Conversion<Ratio<i64>> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<Ratio<isize>> for slug_per_cubic_meter
impl Conversion<Ratio<isize>> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<f32> for slug_per_cubic_meter
impl Conversion<f32> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<f64> for slug_per_cubic_meter
impl Conversion<f64> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<i32> for slug_per_cubic_meter
impl Conversion<i32> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<i64> for slug_per_cubic_meter
impl Conversion<i64> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<isize> for slug_per_cubic_meter
impl Conversion<isize> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<u32> for slug_per_cubic_meter
impl Conversion<u32> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<u64> for slug_per_cubic_meter
impl Conversion<u64> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<usize> for slug_per_cubic_meter
impl Conversion<usize> for slug_per_cubic_meter
sourcefn coefficient() -> Self::T
fn coefficient() -> Self::T
Coefficient portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. Implementation should return the multiplicative identity (Self::T::one()
) if
no coefficient exists. Read more
sourcefn constant(op: ConstantOp) -> Self::T
fn constant(op: ConstantOp) -> Self::T
Constant portion of conversion factor for
converting the given unit to the base unit for the quantity: (value * coefficient()) + constant()
. 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Debug for slug_per_cubic_meter
impl Debug for slug_per_cubic_meter
sourceimpl Hash for slug_per_cubic_meter
impl Hash for slug_per_cubic_meter
sourceimpl Unit for slug_per_cubic_meter
impl Unit for slug_per_cubic_meter
impl Conversion<BigInt> for slug_per_cubic_meter
impl Conversion<BigUint> for slug_per_cubic_meter
impl Conversion<Ratio<BigInt>> for slug_per_cubic_meter
impl Conversion<Ratio<i32>> for slug_per_cubic_meter
impl Conversion<Ratio<i64>> for slug_per_cubic_meter
impl Conversion<Ratio<isize>> for slug_per_cubic_meter
impl Conversion<f32> for slug_per_cubic_meter
impl Conversion<f64> for slug_per_cubic_meter
impl Conversion<i32> for slug_per_cubic_meter
impl Conversion<i64> for slug_per_cubic_meter
impl Conversion<isize> for slug_per_cubic_meter
impl Conversion<u32> for slug_per_cubic_meter
impl Conversion<u64> for slug_per_cubic_meter
impl Conversion<usize> for slug_per_cubic_meter
impl Copy for slug_per_cubic_meter
impl Unit for slug_per_cubic_meter
Auto Trait Implementations
impl RefUnwindSafe for slug_per_cubic_meter
impl Send for slug_per_cubic_meter
impl Sync for slug_per_cubic_meter
impl Unpin for slug_per_cubic_meter
impl UnwindSafe for slug_per_cubic_meter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more