[][src]Trait fts_units::ops::Xor

pub trait Xor<T> {
    type Output;
    fn xor(self, other: T) -> Self::Output;
}

Used only at the type level for Xor'ing Zero and Non-Zero Ratios

Associated Types

type Output

Loading content...

Required methods

fn xor(self, other: T) -> Self::Output

Loading content...

Implementors

impl Xor<RatioZero> for RatioZero where
    RatioZero: Default
[src]

type Output = RatioZero

impl<L0, M0, T0, L1, M1, T1> Xor<SIExponentsT<L1, M1, T1>> for SIExponentsT<L0, M0, T0> where
    L0: Integer + Xor<L1>,
    M0: Integer + Xor<M1>,
    T0: Integer + Xor<T1>,
    L1: Integer,
    M1: Integer,
    T1: Integer,
    XorOutput<L0, L1>: Integer + Default,
    XorOutput<M0, M1>: Integer + Default,
    XorOutput<T0, T1>: Integer + Default
[src]

type Output = SIExponentsT<XorOutput<L0, L1>, XorOutput<M0, M1>, XorOutput<T0, T1>>

impl<L0, M0, T0, L1, M1, T1> Xor<SIRatiosT<L1, M1, T1>> for SIRatiosT<L0, M0, T0> where
    L0: Ratio + Xor<L1>,
    M0: Ratio + Xor<M1>,
    T0: Ratio + Xor<T1>,
    L1: Ratio,
    M1: Ratio,
    T1: Ratio,
    XorOutput<L0, L1>: Ratio + Default,
    XorOutput<M0, M1>: Ratio + Default,
    XorOutput<T0, T1>: Ratio + Default
[src]

type Output = SIRatiosT<XorOutput<L0, L1>, XorOutput<M0, M1>, XorOutput<T0, T1>>

impl<N, D> Xor<RatioT<N, D>> for RatioT<N, D> where
    N: Integer + NonZero,
    D: Integer + NonZero,
    RatioT<N, D>: Default
[src]

type Output = RatioT<N, D>

impl<N, D> Xor<RatioT<N, D>> for RatioZero where
    N: Integer + NonZero,
    D: Integer + NonZero,
    RatioT<N, D>: Default
[src]

type Output = RatioT<N, D>

impl<N, D> Xor<RatioZero> for RatioT<N, D> where
    N: Integer + NonZero,
    D: Integer + NonZero,
    RatioT<N, D>: Default
[src]

type Output = RatioT<N, D>

impl<R0, E0, R1, E1> Xor<SIUnitsT<R1, E1>> for SIUnitsT<R0, E0> where
    R0: SIRatios + Xor<R1>,
    E0: SIExponents + Xor<E1>,
    R1: SIRatios,
    E1: SIExponents,
    XorOutput<R0, R1>: SIRatios,
    XorOutput<E0, E1>: SIExponents,
    SIUnitsT<XorOutput<R0, R1>, XorOutput<E0, E1>>: Default
[src]

type Output = SIUnitsT<XorOutput<R0, R1>, XorOutput<E0, E1>>

Loading content...