pub struct megabit;
Expand description
megabits
Trait Implementations
sourceimpl Conversion<BigInt> for megabit
impl Conversion<BigInt> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<BigUint> for megabit
impl Conversion<BigUint> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<Ratio<BigInt>> for megabit
impl Conversion<Ratio<BigInt>> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<Ratio<i32>> for megabit
impl Conversion<Ratio<i32>> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<Ratio<i64>> for megabit
impl Conversion<Ratio<i64>> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<Ratio<isize>> for megabit
impl Conversion<Ratio<isize>> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<f32> for megabit
impl Conversion<f32> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<f64> for megabit
impl Conversion<f64> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<i32> for megabit
impl Conversion<i32> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<i64> for megabit
impl Conversion<i64> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<isize> for megabit
impl Conversion<isize> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<u32> for megabit
impl Conversion<u32> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<u64> for megabit
impl Conversion<u64> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
sourceimpl Conversion<usize> for megabit
impl Conversion<usize> for megabit
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn conversion(&self) -> Self::T where
Self: Sized,
fn conversion(&self) -> Self::T where
Self: Sized,
Instance conversion factor. Read more
impl Conversion<BigInt> for megabit
impl Conversion<BigUint> for megabit
impl Conversion<Ratio<BigInt>> for megabit
impl Conversion<Ratio<i32>> for megabit
impl Conversion<Ratio<i64>> for megabit
impl Conversion<Ratio<isize>> for megabit
impl Conversion<f32> for megabit
impl Conversion<f64> for megabit
impl Conversion<i32> for megabit
impl Conversion<i64> for megabit
impl Conversion<isize> for megabit
impl Conversion<u32> for megabit
impl Conversion<u64> for megabit
impl Conversion<usize> for megabit
impl Copy for megabit
impl Unit for megabit
Auto Trait Implementations
impl RefUnwindSafe for megabit
impl Send for megabit
impl Sync for megabit
impl Unpin for megabit
impl UnwindSafe for megabit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more