pub struct ounce_per_cubic_meter;Expand description
ounces per cubic meter
Trait Implementations§
source§impl Clone for ounce_per_cubic_meter
 
impl Clone for ounce_per_cubic_meter
source§fn clone(&self) -> ounce_per_cubic_meter
 
fn clone(&self) -> ounce_per_cubic_meter
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 ounce_per_cubic_meter
 
impl Conversion<u16> for ounce_per_cubic_meter
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 ounce_per_cubic_meter
 
impl Conversion<u32> for ounce_per_cubic_meter
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 ounce_per_cubic_meter
 
impl Conversion<u8> for ounce_per_cubic_meter
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 ounce_per_cubic_meter
 
impl Debug for ounce_per_cubic_meter
source§impl Hash for ounce_per_cubic_meter
 
impl Hash for ounce_per_cubic_meter
source§impl Unit for ounce_per_cubic_meter
 
impl Unit for ounce_per_cubic_meter
impl Conversion<u16> for ounce_per_cubic_meter
impl Conversion<u32> for ounce_per_cubic_meter
impl Conversion<u8> for ounce_per_cubic_meter
impl Copy for ounce_per_cubic_meter
impl Unit for ounce_per_cubic_meter
Auto Trait Implementations§
impl Freeze for ounce_per_cubic_meter
impl RefUnwindSafe for ounce_per_cubic_meter
impl Send for ounce_per_cubic_meter
impl Sync for ounce_per_cubic_meter
impl Unpin for ounce_per_cubic_meter
impl UnwindSafe for ounce_per_cubic_meter
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)