pub struct nanokelvin;
Expand description
Measurement unit.
Trait Implementations§
Source§impl Clone for nanokelvin
impl Clone for nanokelvin
Source§fn clone(&self) -> nanokelvin
fn clone(&self) -> nanokelvin
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<f32> for nanokelvin
impl Conversion<f32> for nanokelvin
Source§fn coefficient() -> <nanokelvin as Conversion<f32>>::T
fn coefficient() -> <nanokelvin as Conversion<f32>>::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) -> <nanokelvin as Conversion<f32>>::T
fn constant(op: ConstantOp) -> <nanokelvin as Conversion<f32>>::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 into_conversion(&self) -> Self::Twhere
Self: Sized,
fn into_conversion(&self) -> Self::Twhere
Self: Sized,
Instance conversion factor. Read more
Source§impl Conversion<f64> for nanokelvin
impl Conversion<f64> for nanokelvin
Source§fn coefficient() -> <nanokelvin as Conversion<f64>>::T
fn coefficient() -> <nanokelvin as Conversion<f64>>::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) -> <nanokelvin as Conversion<f64>>::T
fn constant(op: ConstantOp) -> <nanokelvin as Conversion<f64>>::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 into_conversion(&self) -> Self::Twhere
Self: Sized,
fn into_conversion(&self) -> Self::Twhere
Self: Sized,
Instance conversion factor. Read more
Source§impl Conversion<u64> for nanokelvin
impl Conversion<u64> for nanokelvin
Source§fn coefficient() -> <nanokelvin as Conversion<u64>>::T
fn coefficient() -> <nanokelvin as Conversion<u64>>::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) -> <nanokelvin as Conversion<u64>>::T
fn constant(op: ConstantOp) -> <nanokelvin as Conversion<u64>>::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 into_conversion(&self) -> Self::Twhere
Self: Sized,
fn into_conversion(&self) -> Self::Twhere
Self: Sized,
Instance conversion factor. Read more
Source§impl Debug for nanokelvin
impl Debug for nanokelvin
Source§impl Hash for nanokelvin
impl Hash for nanokelvin
Source§impl Unit for nanokelvin
impl Unit for nanokelvin
impl Conversion<f32> for nanokelvin
impl Conversion<f64> for nanokelvin
impl Conversion<u64> for nanokelvin
impl Copy for nanokelvin
impl Unit for nanokelvin
Auto Trait Implementations§
impl Freeze for nanokelvin
impl RefUnwindSafe for nanokelvin
impl Send for nanokelvin
impl Sync for nanokelvin
impl Unpin for nanokelvin
impl UnwindSafe for nanokelvin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)