[][src]Trait fts_units::ops::Sqrt

pub trait Sqrt {
    type Output;
    fn sqrt(self) -> Self::Output;
}

Provide generic Sqrt interface for supported types (such as floats)

Associated Types

type Output

Loading content...

Required methods

fn sqrt(self) -> Self::Output

Loading content...

Implementors

impl<R, E> Sqrt for SIUnitsT<R, E> where
    R: SIRatios,
    E: SIExponents,
    E::Length: PartialDiv<P2>,
    E::Mass: PartialDiv<P2>,
    E::Time: PartialDiv<P2>,
    <E::Length as PartialDiv<P2>>::Output: Integer,
    <E::Mass as PartialDiv<P2>>::Output: Integer,
    <E::Time as PartialDiv<P2>>::Output: Integer,
    SIUnitsT<R, SIExponentsT<<E::Length as PartialDiv<P2>>::Output, <E::Mass as PartialDiv<P2>>::Output, <E::Time as PartialDiv<P2>>::Output>>: Default
[src]

type Output = SIUnitsT<R, SIExponentsT<<E::Length as PartialDiv<P2>>::Output, <E::Mass as PartialDiv<P2>>::Output, <E::Time as PartialDiv<P2>>::Output>>

impl<T, U> Sqrt for QuantityT<T, U> where
    T: Float + Amount,
    U: Sqrt
[src]

type Output = QuantityT<T, SqrtOutput<U>>

Loading content...