pub struct UTerm;
Expand description
The terminating type for UInt
; it always comes after the most significant
bit. UTerm
by itself represents zero, which is aliased to U0
.
Implementations§
Trait Implementations§
source§impl Ord for UTerm
impl Ord for UTerm
source§impl PartialOrd<UTerm> for UTerm
impl PartialOrd<UTerm> for UTerm
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<U: Unsigned> Shl<U> for UTerm
impl<U: Unsigned> Shl<U> for UTerm
Shifting left UTerm
by an unsigned integer: UTerm << U = UTerm
source§impl<U: Unsigned, B: Bit> Shl<UTerm> for UInt<U, B>
impl<U: Unsigned, B: Bit> Shl<UTerm> for UInt<U, B>
Shifting left UInt
by UTerm
: UInt<U, B> << UTerm = UInt<U, B>
source§impl<U: Unsigned> Shr<U> for UTerm
impl<U: Unsigned> Shr<U> for UTerm
Shifting right a UTerm
by an unsigned integer: UTerm >> U = UTerm
source§impl<U: Unsigned, B: Bit> Shr<UTerm> for UInt<U, B>
impl<U: Unsigned, B: Bit> Shr<UTerm> for UInt<U, B>
Shifting right UInt
by UTerm
: UInt<U, B> >> UTerm = UInt<U, B>