Struct uom::si::length::nautical_mile
source · pub struct nautical_mile;
Expand description
nautical miles
Trait Implementations§
source§impl Clone for nautical_mile
impl Clone for nautical_mile
source§fn clone(&self) -> nautical_mile
fn clone(&self) -> nautical_mile
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 nautical_mile
impl Conversion<BigInt> for nautical_mile
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 nautical_mile
impl Conversion<BigUint> for nautical_mile
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 nautical_mile
impl Conversion<Ratio<BigInt>> for nautical_mile
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 nautical_mile
impl Conversion<Ratio<i32>> for nautical_mile
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 nautical_mile
impl Conversion<Ratio<i64>> for nautical_mile
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 nautical_mile
impl Conversion<Ratio<isize>> for nautical_mile
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 nautical_mile
impl Conversion<f32> for nautical_mile
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 nautical_mile
impl Conversion<f64> for nautical_mile
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 nautical_mile
impl Conversion<i32> for nautical_mile
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 nautical_mile
impl Conversion<i64> for nautical_mile
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 nautical_mile
impl Conversion<isize> for nautical_mile
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 nautical_mile
impl Conversion<u32> for nautical_mile
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 nautical_mile
impl Conversion<u64> for nautical_mile
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 nautical_mile
impl Conversion<usize> for nautical_mile
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