Enum typenum::uint::UTerm
[−]
[src]
pub enum UTerm {}The terminating type for UInt; it always comes after the most significant bit. UTerm
by itself represents zero, which is aliased to U0.
Trait Implementations
impl PartialEq for UTerm
impl Eq for UTerm
impl PartialOrd for UTerm
fn partial_cmp(&self, _: &Self) -> Option<Ordering>
fn lt(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
fn gt(&self, other: &Rhs) -> bool
fn ge(&self, other: &Rhs) -> bool
impl Ord for UTerm
impl Clone for UTerm
fn clone(&self) -> Self
fn clone_from(&mut self, source: &Self)
impl Copy for UTerm
impl Hash for UTerm
fn hash<H>(&self, _: &mut H) where H: Hasher
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl Default for UTerm
fn default() -> Self
impl Debug for UTerm
impl Unsigned for UTerm
fn to_u8() -> u8
fn to_u16() -> u16
fn to_u32() -> u32
fn to_u64() -> u64
fn to_usize() -> usize
fn to_i8() -> i8
fn to_i16() -> i16
fn to_i32() -> i32
fn to_i64() -> i64
fn to_isize() -> isize
impl Add<B0> for UTerm
UTerm + B0 = UTerm
impl Add<B1> for UTerm
UTerm + B1 = UInt<UTerm, B1>
impl Add<UTerm> for UTerm
UTerm + UTerm = UTerm
impl<U: Unsigned, B: Bit> Add<UInt<U, B>> for UTerm
UTerm + UInt<U, B> = UInt<U, B>
impl Sub<B0> for UTerm
UTerm - B0 = Term
impl Sub<UTerm> for UTerm
UTerm - UTerm = UTerm
impl<Ur: Unsigned> BitAnd<Ur> for UTerm
impl<U: Unsigned> BitOr<U> for UTerm
UTerm | X = X
impl<Ur: Unsigned> BitXor<Ur> for UTerm
0 ^ X = X
impl<U: Unsigned> Shl<U> for UTerm
Shifting left UTerm by an unsigned integer: UTerm << U = UTerm
impl Shl<B0> for UTerm
Shifting UTerm by a zero bit: UTerm << B0 = UTerm
impl Shl<B1> for UTerm
Shifting left a UTerm by a 1 bit: UTerm << B1 = UTerm
impl<U: Unsigned> Shr<U> for UTerm
Shifting right a UTerm by an unsigned integer: UTerm >> U = UTerm
impl Shr<B0> for UTerm
Shifting right UTerm by a zero bit: UTerm >> B0 = UTerm
impl Shr<B1> for UTerm
Shifting right a UTerm by a 1 bit: UTerm >> B1 = UTerm
impl<B: Bit> Mul<B> for UTerm
UTerm * B = UTerm
impl<U: Unsigned, B: Bit> Mul<UInt<U, B>> for UTerm
UTerm * UInt<U, B> = UTerm
impl Mul<UTerm> for UTerm
UTerm * UTerm = UTerm
impl Cmp<UTerm> for UTerm
Zero == Zero
type Output = Equal
impl<U: Unsigned, B: Bit> Cmp<UInt<U, B>> for UTerm
Zero < Nonzero