Struct diffgeom::typenum::UTerm []

pub struct UTerm;

The terminating type for UInt; it always comes after the most significant bit. UTerm by itself represents zero, which is aliased to U0.

Methods

impl UTerm

Instantiates a singleton representing this unsigned integer.

Trait Implementations

impl Clone for UTerm

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Cmp<UTerm> for UTerm

Zero == Zero

The result of the comparison. It should only ever be one of Greater, Less, or Equal.

impl<U, B> Cmp<UInt<U, B>> for UTerm where
    B: Bit,
    U: Unsigned

Zero < Nonzero

The result of the comparison. It should only ever be one of Greater, Less, or Equal.

impl Add<B0> for UTerm

UTerm + B0 = UTerm

The resulting type after applying the + operator

The method for the + operator

impl Add<B1> for UTerm

UTerm + B1 = UInt<UTerm, B1>

The resulting type after applying the + operator

The method for the + operator

impl<U> Add<U> for UTerm where
    U: Unsigned

UTerm + U = U

The resulting type after applying the + operator

The method for the + operator

impl<U> Shr<U> for UTerm where
    U: Unsigned

Shifting right a UTerm by an unsigned integer: UTerm >> U = UTerm

impl Shr<B0> for UTerm

Shifting right UTerm by a 0 bit: UTerm >> B0 = UTerm

impl Shr<B1> for UTerm

Shifting right UTerm by a 1 bit: UTerm >> B1 = UTerm

impl Debug for UTerm

Formats the value using the given formatter.

impl Eq for UTerm

impl<Ur> BitXor<Ur> for UTerm where
    Ur: Unsigned

0 ^ X = X

impl<U> Shl<U> for UTerm where
    U: Unsigned

Shifting left UTerm by an unsigned integer: UTerm << U = UTerm

impl Shl<B1> for UTerm

Shifting UTerm by a 1 bit: UTerm << B1 = UTerm

impl Shl<B0> for UTerm

Shifting UTerm by a 0 bit: UTerm << B0 = UTerm

impl<U> Min<U> for UTerm where
    U: Unsigned

The type of the minimum of Self and Rhs

Method returning the minimum

impl Len for UTerm

Length of UTerm by itself is 0

The length as a type-level unsigned integer.

This function isn't used in this crate, but may be useful for others.

impl<Ur, Br> Rem<UInt<Ur, Br>> for UTerm where
    Br: Bit,
    Ur: Unsigned

impl Mul<B0> for UTerm

UTerm * B0 = UTerm

The resulting type after applying the * operator

The method for the * operator

impl Mul<B1> for UTerm

UTerm * B1 = UTerm

The resulting type after applying the * operator

The method for the * operator

impl<U> Mul<U> for UTerm where
    U: Unsigned

UTerm * U = UTerm

The resulting type after applying the * operator

The method for the * operator

impl<I> GetBit<I> for UTerm

impl<Ur, Br> Div<UInt<Ur, Br>> for UTerm where
    Br: Bit,
    Ur: Unsigned

The resulting type after applying the / operator

The method for the / operator

impl Unsigned for UTerm

impl<U> BitOr<U> for UTerm where
    U: Unsigned

UTerm | X = X

impl Default for UTerm

impl PartialOrd<UTerm> for UTerm

impl Hash for UTerm

impl PartialEq<UTerm> for UTerm

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<U> Max<U> for UTerm where
    U: Unsigned

The type of the maximum of Self and Rhs

Method returning the maximum

impl<Ur, Br> PartialDiv<UInt<Ur, Br>> for UTerm where
    Br: Bit,
    Ur: Unsigned

The type of the result of the division

Method for performing the division

impl<Ur> BitAnd<Ur> for UTerm where
    Ur: Unsigned

0 & X = 0

impl Sub<B0> for UTerm

UTerm - B0 = Term

The resulting type after applying the - operator

The method for the - operator

impl Sub<UTerm> for UTerm

UTerm - UTerm = UTerm

The resulting type after applying the - operator

The method for the - operator

impl Ord for UTerm

impl Copy for UTerm

impl<T> ArrayLength<T> for UTerm
[src]

Associated type representing the array type for the number