Struct typenum::uint::UTerm [−][src]
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
UTerm + B0 = UTerm
UTerm + B1 = UInt<UTerm, B1>
UTerm + U = U
UInt<U, B> + UTerm = UInt<U, B>
0 & X = 0
UTerm | X = X
X | UTerm = X
0 ^ X = X
Zero < Nonzero
Zero == Zero
Nonzero > Zero
Length of UTerm by itself is 0
UTerm * B0 = UTerm
UTerm * B1 = UTerm
UTerm * U = UTerm
UInt<U, B> * UTerm = UTerm
This method returns an [Ordering] between self and other. Read more
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
Shifting UTerm by a 0 bit: UTerm << B0 = UTerm
Shifting UTerm by a 1 bit: UTerm << B1 = UTerm
Shifting left UTerm by an unsigned integer: UTerm << U = UTerm
Shifting left UInt by UTerm: UInt<U, B> << UTerm = UInt<U, B>
Shifting right UTerm by a 0 bit: UTerm >> B0 = UTerm
Shifting right UTerm by a 1 bit: UTerm >> B1 = UTerm
Shifting right a UTerm by an unsigned integer: UTerm >> U = UTerm
Shifting right UInt by UTerm: UInt<U, B> >> UTerm = UInt<U, B>
UTerm - B0 = Term
UTerm - UTerm = UTerm
Auto Trait Implementations
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> TPerforms the conversion.
type Output = X
type Output = XThe greatest common divisor.
pub fn into(self) -> U
pub fn into(self) -> UPerforms the conversion.
type Output = <N as PrivateSquareRoot>::Output
type Output = <N as PrivateSquareRoot>::OutputThe result of the integer square root.