Struct uom::si::energy::zeptojoule
source · pub struct zeptojoule;
Expand description
zeptojoules
Trait Implementations§
source§impl Clone for zeptojoule
impl Clone for zeptojoule
source§fn clone(&self) -> zeptojoule
fn clone(&self) -> zeptojoule
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<BigInt> for zeptojoule
impl Conversion<BigInt> for zeptojoule
source§fn 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.source§fn 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.source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere Self: Sized,
Instance conversion factor. Read more
source§impl Conversion<BigUint> for zeptojoule
impl Conversion<BigUint> for zeptojoule
source§fn 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.source§fn 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.source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere Self: Sized,
Instance conversion factor. Read more
source§impl Conversion<Ratio<BigInt>> for zeptojoule
impl Conversion<Ratio<BigInt>> for zeptojoule
source§fn 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.source§fn 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.source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere Self: Sized,
Instance conversion factor. Read more
source§impl Conversion<Ratio<i32>> for zeptojoule
impl Conversion<Ratio<i32>> for zeptojoule
source§fn 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.source§fn 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.source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere Self: Sized,
Instance conversion factor. Read more
source§impl Conversion<Ratio<i64>> for zeptojoule
impl Conversion<Ratio<i64>> for zeptojoule
source§fn 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.source§fn 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.source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere Self: Sized,
Instance conversion factor. Read more
source§impl Conversion<Ratio<isize>> for zeptojoule
impl Conversion<Ratio<isize>> for zeptojoule
source§fn 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.source§fn 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.source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere Self: Sized,
Instance conversion factor. Read more
source§impl Conversion<f32> for zeptojoule
impl Conversion<f32> for zeptojoule
source§fn 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.source§fn 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.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 zeptojoule
impl Conversion<f64> for zeptojoule
source§fn 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.source§fn 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.source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere Self: Sized,
Instance conversion factor. Read more
source§impl Conversion<i32> for zeptojoule
impl Conversion<i32> for zeptojoule
source§fn 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.source§fn 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.source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere Self: Sized,
Instance conversion factor. Read more
source§impl Conversion<i64> for zeptojoule
impl Conversion<i64> for zeptojoule
source§fn 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.source§fn 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.source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere Self: Sized,
Instance conversion factor. Read more
source§impl Conversion<isize> for zeptojoule
impl Conversion<isize> for zeptojoule
source§fn 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.source§fn 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.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 zeptojoule
impl Conversion<u32> for zeptojoule
source§fn 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.source§fn 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.source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere Self: Sized,
Instance conversion factor. Read more
source§impl Conversion<u64> for zeptojoule
impl Conversion<u64> for zeptojoule
source§fn 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.source§fn 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.source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere Self: Sized,
Instance conversion factor. Read more
source§impl Conversion<usize> for zeptojoule
impl Conversion<usize> for zeptojoule
source§fn 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.source§fn 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.source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere Self: Sized,
Instance conversion factor. Read more