[][src]Trait fts_units::ops::Invert

pub trait Invert {
    type Output;
    fn invert(self) -> Self::Output;
}

Provide generic Invert interface for invertable types (such as floats)

Associated Types

type Output

Loading content...

Required methods

fn invert(self) -> Self::Output

Loading content...

Implementations on Foreign Types

impl Invert for f32[src]

type Output = f32

impl Invert for f64[src]

type Output = f64

Loading content...

Implementors

impl<R, E> Invert for SIUnitsT<R, E> where
    R: SIRatios,
    E: SIExponents,
    Dimensionless: Div<Self>,
    DivOutput<Dimensionless, Self>: Default
[src]

type Output = DivOutput<Dimensionless, Self>

impl<T, U> Invert for QuantityT<T, U> where
    T: Invert + Amount,
    U: Invert,
    InvertOutput<T>: Amount
[src]

Loading content...