Struct generic_arrayvec::typenum::uint::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<T> ArrayLength<T> for UTerm
[src]

Associated type representing the array type for the number

impl Pow<UTerm> for i64
[+]

The result of the exponentiation.

[]

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Pow<UTerm> for usize
[+]

The result of the exponentiation.

[]

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Pow<UTerm> for f64
[+]

The result of the exponentiation.

[]

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Pow<UTerm> for u8
[+]

The result of the exponentiation.

[]

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Pow<UTerm> for i32
[+]

The result of the exponentiation.

[]

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Pow<UTerm> for i16
[+]

The result of the exponentiation.

[]

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Pow<UTerm> for f32
[+]

The result of the exponentiation.

[]

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Pow<UTerm> for u32
[+]

The result of the exponentiation.

[]

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Pow<UTerm> for i8
[+]

The result of the exponentiation.

[]

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Pow<UTerm> for isize
[+]

The result of the exponentiation.

[]

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Pow<UTerm> for u64
[+]

The result of the exponentiation.

[]

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Pow<UTerm> for u16
[+]

The result of the exponentiation.

[]

This function isn't used in this crate, but may be useful for others. It is implemented for primitives. Read more

impl Hash for UTerm
[+]

[]

Feeds this value into the given [Hasher]. Read more

[]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialOrd<UTerm> for UTerm
[+]

[]

This method returns an ordering between self and other values if one exists. Read more

[]

This method tests less than (for self and other) and is used by the < operator. Read more

[]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[]

This method tests greater than (for self and other) and is used by the > operator. Read more

[]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<Ur> BitAnd<Ur> for UTerm where
    Ur: Unsigned
[+]

0 & X = 0

The resulting type after applying the & operator.

[]

Performs the & operation.

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

The resulting type after applying the / operator.

[]

Performs the / operation.

impl Default for UTerm
[+]

[]

Returns the "default value" for a type. Read more

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

The resulting type after applying the % operator.

[]

Performs the % operation.

impl<U> Max<U> for UTerm where
    U: Unsigned
[+]

The type of the maximum of Self and Rhs

[]

Method returning the maximum

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

The type of the minimum of Self and Rhs

[]

Method returning the minimum

impl<Un, Bn> GetBit<UTerm> for UInt<Un, Bn>

impl<I> GetBit<I> for UTerm

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 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 Shl<B1> for UTerm
[+]

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

The resulting type after applying the << operator.

[]

Performs the << operation.

impl<U> Shl<U> for UTerm where
    U: Unsigned
[+]

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

The resulting type after applying the << operator.

[]

Performs the << operation.

impl<U, B> Shl<UTerm> for UInt<U, B> where
    B: Bit,
    U: Unsigned
[+]

Shifting left UInt by UTerm: UInt<U, B> << UTerm = UInt<U, B>

The resulting type after applying the << operator.

[]

Performs the << operation.

impl Shl<B0> for UTerm
[+]

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

The resulting type after applying the << operator.

[]

Performs the << operation.

impl Ord for UTerm
[+]

[]

This method returns an Ordering between self and other. Read more

[]

Compares and returns the maximum of two values. Read more

[]

Compares and returns the minimum of two values. Read more

impl Mul<B1> for UTerm
[+]

UTerm * B1 = UTerm

The resulting type after applying the * operator.

[]

Performs the * operation.

impl<U, B> Mul<UTerm> for UInt<U, B> where
    B: Bit,
    U: Unsigned
[+]

UInt<U, B> * UTerm = UTerm

The resulting type after applying the * operator.

[]

Performs the * operation.

impl<U> Mul<U> for UTerm where
    U: Unsigned
[+]

UTerm * U = UTerm

The resulting type after applying the * operator.

[]

Performs the * operation.

impl Mul<B0> for UTerm
[+]

UTerm * B0 = UTerm

The resulting type after applying the * operator.

[]

Performs the * operation.

impl Debug for UTerm
[+]

[]

Formats the value using the given formatter. Read more

impl<U> Shr<U> for UTerm where
    U: Unsigned
[+]

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

The resulting type after applying the >> operator.

[]

Performs the >> operation.

impl Shr<B1> for UTerm
[+]

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

The resulting type after applying the >> operator.

[]

Performs the >> operation.

impl<U, B> Shr<UTerm> for UInt<U, B> where
    B: Bit,
    U: Unsigned
[+]

Shifting right UInt by UTerm: UInt<U, B> >> UTerm = UInt<U, B>

The resulting type after applying the >> operator.

[]

Performs the >> operation.

impl Shr<B0> for UTerm
[+]

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

The resulting type after applying the >> operator.

[]

Performs the >> operation.

impl Clone for UTerm
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Sub<B0> for UTerm
[+]

UTerm - B0 = Term

The resulting type after applying the - operator.

[]

Performs the - operation.

impl Sub<UTerm> for UTerm
[+]

UTerm - UTerm = UTerm

The resulting type after applying the - operator.

[]

Performs the - operation.

impl Unsigned for UTerm
[+]

U8: u8 = 0

U16: u16 = 0

U32: u32 = 0

U64: u64 = 0

USIZE: usize = 0

I8: i8 = 0

I16: i16 = 0

I32: i32 = 0

I64: i64 = 0

ISIZE: isize = 0

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, 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<U, B> Cmp<UTerm> for UInt<U, B> where
    B: Bit,
    U: Unsigned

Nonzero > Zero

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

impl Cmp<UTerm> for UTerm

Zero == Zero

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

impl Eq for UTerm

impl Copy for UTerm

impl<Ur> BitXor<Ur> for UTerm where
    Ur: Unsigned
[+]

0 ^ X = X

The resulting type after applying the ^ operator.

[]

Performs the ^ operation.

impl<B, U> BitOr<UTerm> for UInt<U, B> where
    B: Bit,
    U: Unsigned
[+]

X | UTerm = X

The resulting type after applying the | operator.

[]

Performs the | operation.

impl<U> BitOr<U> for UTerm where
    U: Unsigned
[+]

UTerm | X = X

The resulting type after applying the | operator.

[]

Performs the | operation.

impl<U, B> Add<UTerm> for UInt<U, B> where
    B: Bit,
    U: Unsigned
[+]

UInt<U, B> + UTerm = UInt<U, B>

The resulting type after applying the + operator.

[]

Performs the + operation.

impl<U> Add<U> for UTerm where
    U: Unsigned
[+]

UTerm + U = U

The resulting type after applying the + operator.

[]

Performs the + operation.

impl Add<B0> for UTerm
[+]

UTerm + B0 = UTerm

The resulting type after applying the + operator.

[]

Performs the + operation.

impl Add<B1> for UTerm
[+]

UTerm + B1 = UInt<UTerm, B1>

The resulting type after applying the + operator.

[]

Performs the + operation.

Auto Trait Implementations

impl Send for UTerm

impl Sync for UTerm