pub struct kilogram;
Expand description
The kilogram is the SI unit of mass. It is defined by taking the fixed numerical value of the Planck constant h to be 6.626 070 15 × 10⁻³⁴ when expressed in the unit J s, which is equal to kg m² s⁻¹, where the meter and the second are defined in terms of c and ∆νCs.
Trait Implementations
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
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
Instance conversion factor. Read more
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
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
Instance conversion factor. Read more
type T = BigRational
type T = BigRational
Conversion factor type specific to the underlying storage type.
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
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
Instance conversion factor. Read more
type T = Rational32
type T = Rational32
Conversion factor type specific to the underlying storage type.
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
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
Instance conversion factor. Read more
type T = Rational64
type T = Rational64
Conversion factor type specific to the underlying storage type.
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
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
Instance conversion factor. Read more
type T = Rational
type T = Rational
Conversion factor type specific to the underlying storage type.
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
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
Instance conversion factor. Read more
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
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
Instance conversion factor. Read more
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
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
Instance conversion factor. Read more
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
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
Instance conversion factor. Read more
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
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
Instance conversion factor. Read more
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
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
Instance conversion factor. Read more
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
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
Instance conversion factor. Read more
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
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
Instance conversion factor. Read more
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
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
Instance conversion factor. Read more
Auto Trait Implementations
impl RefUnwindSafe for kilogram
impl UnwindSafe for kilogram
Blanket Implementations
Mutably borrows from an owned value. Read more