pub struct ton_short;
Expand description
short tons
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 ton_short
impl UnwindSafe for ton_short
Blanket Implementations
Mutably borrows from an owned value. Read more