[−][src]Trait fts_units::ops::ReduceWith
Helper to reduce Ratios to RatioZero when Exponent becomes zero
Associated Types
type Output
Required methods
fn reduce_with(self, other: T) -> Self::Output
Implementors
impl<E> ReduceWith<E> for RatioZero
[src]
type Output = RatioZero
fn reduce_with(self, _other: E) -> Self::Output
[src]
impl<L, M, T, E> ReduceWith<E> for SIRatiosT<L, M, T> where
L: Ratio + ReduceWith<E::Length>,
M: Ratio + ReduceWith<E::Mass>,
T: Ratio + ReduceWith<E::Time>,
E: SIExponents,
ReduceWithOutput<L, E::Length>: Ratio + Default,
ReduceWithOutput<M, E::Mass>: Ratio + Default,
ReduceWithOutput<T, E::Time>: Ratio + Default,
[src]
L: Ratio + ReduceWith<E::Length>,
M: Ratio + ReduceWith<E::Mass>,
T: Ratio + ReduceWith<E::Time>,
E: SIExponents,
ReduceWithOutput<L, E::Length>: Ratio + Default,
ReduceWithOutput<M, E::Mass>: Ratio + Default,
ReduceWithOutput<T, E::Time>: Ratio + Default,
type Output = SIRatiosT<ReduceWithOutput<L, E::Length>, ReduceWithOutput<M, E::Mass>, ReduceWithOutput<T, E::Time>>
fn reduce_with(self, _other: E) -> Self::Output
[src]
impl<N, D> ReduceWith<Z0> for RatioT<N, D> where
Self: Default,
N: Integer + NonZero,
D: Integer + NonZero,
[src]
Self: Default,
N: Integer + NonZero,
D: Integer + NonZero,
impl<N, D, U> ReduceWith<NInt<U>> for RatioT<N, D> where
Self: Default,
N: Integer + NonZero,
D: Integer + NonZero,
U: Unsigned + NonZero,
[src]
Self: Default,
N: Integer + NonZero,
D: Integer + NonZero,
U: Unsigned + NonZero,
type Output = Self
fn reduce_with(self, _other: NInt<U>) -> Self::Output
[src]
impl<N, D, U> ReduceWith<PInt<U>> for RatioT<N, D> where
Self: Default,
N: Integer + NonZero,
D: Integer + NonZero,
U: Unsigned + NonZero,
[src]
Self: Default,
N: Integer + NonZero,
D: Integer + NonZero,
U: Unsigned + NonZero,