[][src]Struct uom::si::mass::kilogram

pub struct kilogram;

The kilogram is the unit of mass; it is equal to the mass of the international prototype of the kilogram.

Trait Implementations

impl Conversion<f32> for kilogram[src]

type T = f32

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<f64> for kilogram[src]

type T = f64

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<usize> for kilogram[src]

type T = Ratio<usize>

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<u8> for kilogram[src]

type T = Ratio<u8>

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<u16> for kilogram[src]

type T = Ratio<u16>

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<u32> for kilogram[src]

type T = Ratio<u32>

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<u64> for kilogram[src]

type T = Ratio<u64>

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<isize> for kilogram[src]

type T = Ratio<isize>

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<i8> for kilogram[src]

type T = Ratio<i8>

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<i16> for kilogram[src]

type T = Ratio<i16>

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<i32> for kilogram[src]

type T = Ratio<i32>

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<i64> for kilogram[src]

type T = Ratio<i64>

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<BigInt> for kilogram[src]

type T = Ratio<BigInt>

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<BigUint> for kilogram[src]

type T = Ratio<BigUint>

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<Ratio<isize>> for kilogram[src]

type T = Rational

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<Ratio<i32>> for kilogram[src]

type T = Rational32

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<Ratio<i64>> for kilogram[src]

type T = Rational64

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Conversion<Ratio<BigInt>> for kilogram[src]

type T = BigRational

Conversion factor type specific to the underlying storage type.

fn into_conversion(&self) -> Self::T where
    Self: Sized
[src]

Instance [conversion factor][factor]. Read more

impl Unit for kilogram[src]

impl Conversion<f32> for kilogram[src]

impl Conversion<f64> for kilogram[src]

impl Conversion<usize> for kilogram[src]

impl Conversion<u8> for kilogram[src]

impl Conversion<u16> for kilogram[src]

impl Conversion<u32> for kilogram[src]

impl Conversion<u64> for kilogram[src]

impl Conversion<isize> for kilogram[src]

impl Conversion<i8> for kilogram[src]

impl Conversion<i16> for kilogram[src]

impl Conversion<i32> for kilogram[src]

impl Conversion<i64> for kilogram[src]

impl Conversion<BigInt> for kilogram[src]

impl Conversion<BigUint> for kilogram[src]

impl Conversion<Ratio<isize>> for kilogram[src]

impl Conversion<Ratio<i32>> for kilogram[src]

impl Conversion<Ratio<i64>> for kilogram[src]

impl Conversion<Ratio<BigInt>> for kilogram[src]

impl Unit for kilogram[src]

impl Copy for kilogram[src]

impl Clone for kilogram[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for kilogram[src]

impl Hash for kilogram[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for kilogram

impl Sync for kilogram

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self