Struct typenum::uint::UTerm [−][src]
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
.
Implementations
impl UTerm
[src]
impl UTerm
[src]Trait Implementations
impl Clone for UTerm
[src]
impl Clone for UTerm
[src]fn clone(&self) -> UTerm
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<X> Gcd<UTerm> for X where
X: Unsigned + NonZero,
[src]
impl<X> Gcd<UTerm> for X where
X: Unsigned + NonZero,
[src]gcd(x, 0) = x
type Output = X
The greatest common divisor.
impl PartialOrd<UTerm> for UTerm
[src]
impl PartialOrd<UTerm> for UTerm
[src]impl<U: Unsigned> Shl<U> for UTerm
[src]
impl<U: Unsigned> Shl<U> for UTerm
[src]Shifting left UTerm
by an unsigned integer: UTerm << U = UTerm
impl<U: Unsigned, B: Bit> Shl<UTerm> for UInt<U, B>
[src]
impl<U: Unsigned, B: Bit> Shl<UTerm> for UInt<U, B>
[src]Shifting left UInt
by UTerm
: UInt<U, B> << UTerm = UInt<U, B>
impl<U: Unsigned> Shr<U> for UTerm
[src]
impl<U: Unsigned> Shr<U> for UTerm
[src]Shifting right a UTerm
by an unsigned integer: UTerm >> U = UTerm
impl<U: Unsigned, B: Bit> Shr<UTerm> for UInt<U, B>
[src]
impl<U: Unsigned, B: Bit> Shr<UTerm> for UInt<U, B>
[src]Shifting right UInt
by UTerm
: UInt<U, B> >> UTerm = UInt<U, B>
impl Unsigned for UTerm
[src]
impl Unsigned for UTerm
[src]const U8: u8
[src]
const U16: u16
[src]
const U32: u32
[src]
const U64: u64
[src]
const USIZE: usize
[src]
const I8: i8
[src]
const I16: i16
[src]
const I32: i32
[src]
const I64: i64
[src]
const ISIZE: isize
[src]
fn to_u8() -> u8
[src]
fn to_u16() -> u16
[src]
fn to_u32() -> u32
[src]
fn to_u64() -> u64
[src]
fn to_usize() -> usize
[src]
fn to_i8() -> i8
[src]
fn to_i16() -> i16
[src]
fn to_i32() -> i32
[src]
fn to_i64() -> i64
[src]
fn to_isize() -> isize
[src]
impl Copy for UTerm
[src]
impl Eq for UTerm
[src]
impl StructuralEq for UTerm
[src]
impl StructuralPartialEq for UTerm
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<X> Gcd<UTerm> for X where
X: Unsigned + NonZero,
[src]
impl<X> Gcd<UTerm> for X where
X: Unsigned + NonZero,
[src]type Output = X
The greatest common divisor.
impl<N, I, B> SetBit<I, B> for N where
N: PrivateSetBit<I, B>,
<N as PrivateSetBit<I, B>>::Output: Trim,
[src]
impl<N, I, B> SetBit<I, B> for N where
N: PrivateSetBit<I, B>,
<N as PrivateSetBit<I, B>>::Output: Trim,
[src]impl<N> SquareRoot for N where
N: PrivateSquareRoot,
[src]
impl<N> SquareRoot for N where
N: PrivateSquareRoot,
[src]type Output = <N as PrivateSquareRoot>::Output
The result of the integer square root.