Trait typenum::type_operators::Min[][src]

pub trait Min<Rhs = Self> {
    type Output;
    fn min(self, rhs: Rhs) -> Self::Output;
}

A type operator that returns the minimum of Self and Rhs.

Associated Types

type Output[src]

The type of the minimum of Self and Rhs

Loading content...

Required methods

fn min(self, rhs: Rhs) -> Self::Output[src]

Method returning the minimum

Loading content...

Implementors

impl Min<B0> for B0[src]

type Output = B0

impl Min<B0> for B1[src]

type Output = B0

impl Min<B1> for B0[src]

type Output = B0

impl Min<B1> for B1[src]

type Output = B1

impl Min<Z0> for Z0[src]

type Output = Z0

impl<U> Min<NInt<U>> for Z0 where
    U: Unsigned + NonZero
[src]

type Output = NInt<U>

impl<U> Min<PInt<U>> for Z0 where
    U: Unsigned + NonZero
[src]

type Output = Z0

impl<U> Min<Z0> for NInt<U> where
    U: Unsigned + NonZero
[src]

type Output = NInt<U>

impl<U> Min<Z0> for PInt<U> where
    U: Unsigned + NonZero
[src]

type Output = Z0

impl<U> Min<U> for UTerm where
    U: Unsigned
[src]

type Output = UTerm

impl<U, B, Ur> Min<Ur> for UInt<U, B> where
    U: Unsigned,
    B: Bit,
    Ur: Unsigned,
    UInt<U, B>: Cmp<Ur> + PrivateMin<Ur, Compare<UInt<U, B>, Ur>>, 
[src]

type Output = PrivateMinOut<UInt<U, B>, Ur, Compare<UInt<U, B>, Ur>>

impl<Ul, Ur> Min<NInt<Ur>> for NInt<Ul> where
    Ul: Unsigned + NonZero + Max<Ur>,
    Ur: Unsigned + NonZero,
    Maximum<Ul, Ur>: Unsigned + NonZero
[src]

type Output = NInt<Maximum<Ul, Ur>>

impl<Ul, Ur> Min<NInt<Ur>> for PInt<Ul> where
    Ul: Unsigned + NonZero,
    Ur: Unsigned + NonZero
[src]

type Output = NInt<Ur>

impl<Ul, Ur> Min<PInt<Ur>> for NInt<Ul> where
    Ul: Unsigned + NonZero,
    Ur: Unsigned + NonZero
[src]

type Output = NInt<Ul>

impl<Ul, Ur> Min<PInt<Ur>> for PInt<Ul> where
    Ul: Unsigned + NonZero + Min<Ur>,
    Ur: Unsigned + NonZero,
    Minimum<Ul, Ur>: Unsigned + NonZero
[src]

type Output = PInt<Minimum<Ul, Ur>>

Loading content...