[]Struct heim::units::information::megabit

pub struct megabit;

Measurement unit.

Trait Implementations

impl Clone for megabit

impl Conversion<f32> for megabit

type T = f32

Conversion factor type specific to the underlying storage type.

impl Conversion<f32> for megabit

impl Conversion<f64> for megabit

type T = f64

Conversion factor type specific to the underlying storage type.

impl Conversion<f64> for megabit

impl Conversion<u64> for megabit

type T = Ratio<u64>

Conversion factor type specific to the underlying storage type.

impl Conversion<u64> for megabit

impl Copy for megabit

impl Debug for megabit

impl Hash for megabit

impl Unit 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

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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.