pub struct megaweber;
Expand description
megawebers
Trait Implementations
sourceimpl Conversion<BigInt> for megaweber
impl Conversion<BigInt> for megaweber
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 megaweber
impl Conversion<BigUint> for megaweber
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 megaweber
impl Conversion<Ratio<BigInt>> for megaweber
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 megaweber
impl Conversion<Ratio<i32>> for megaweber
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 megaweber
impl Conversion<Ratio<i64>> for megaweber
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 megaweber
impl Conversion<Ratio<isize>> for megaweber
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 megaweber
impl Conversion<f32> for megaweber
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 megaweber
impl Conversion<f64> for megaweber
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 megaweber
impl Conversion<i32> for megaweber
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 megaweber
impl Conversion<i64> for megaweber
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 megaweber
impl Conversion<isize> for megaweber
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 megaweber
impl Conversion<u32> for megaweber
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 megaweber
impl Conversion<u64> for megaweber
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 megaweber
impl Conversion<usize> for megaweber
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 megaweber
impl Conversion<BigUint> for megaweber
impl Conversion<Ratio<BigInt>> for megaweber
impl Conversion<Ratio<i32>> for megaweber
impl Conversion<Ratio<i64>> for megaweber
impl Conversion<Ratio<isize>> for megaweber
impl Conversion<f32> for megaweber
impl Conversion<f64> for megaweber
impl Conversion<i32> for megaweber
impl Conversion<i64> for megaweber
impl Conversion<isize> for megaweber
impl Conversion<u32> for megaweber
impl Conversion<u64> for megaweber
impl Conversion<usize> for megaweber
impl Copy for megaweber
impl Unit for megaweber
Auto Trait Implementations
impl RefUnwindSafe for megaweber
impl Send for megaweber
impl Sync for megaweber
impl Unpin for megaweber
impl UnwindSafe for megaweber
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