UInt

Trait UInt 

Source
pub trait UInt:
    Copy
    + Ord
    + Eq
    + Common
    + Lsb0Array
    + Sub<Output = Self>
    + Add<Output = Self>
    + AddAssign
    + Div<Output = Self>
    + DivAssign
    + Mul<Output = Self>
    + MulAssign
    + Rem<Output = Self>
    + Shl<u8, Output = Self>
    + ShlAssign<u8>
    + Shr<u8, Output = Self>
    + ShrAssign<u8>
    + BitOr<Output = Self>
    + BitOrAssign
    + BitAnd<Output = Self>
    + BitAndAssign
    + BitXor<Output = Self>
    + BitXorAssign
    + Not<Output = Self> {
    // Required methods
    fn ror(self, i: u32) -> Self;
    fn overflow_add(self, v: Self) -> Self;

    // Provided methods
    fn remove(self, i: u8) -> Self { ... }
    fn take(self, i: u8) -> Self { ... }
}

Required Methods§

Source

fn ror(self, i: u32) -> Self

Source

fn overflow_add(self, v: Self) -> Self

Provided Methods§

Source

fn remove(self, i: u8) -> Self

Source

fn take(self, i: u8) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl UInt for u8

Source§

fn ror(self, i: u32) -> Self

Source§

fn overflow_add(self, v: Self) -> Self

Source§

impl UInt for u16

Source§

fn ror(self, i: u32) -> Self

Source§

fn overflow_add(self, v: Self) -> Self

Source§

impl UInt for u32

Source§

fn ror(self, i: u32) -> Self

Source§

fn overflow_add(self, v: Self) -> Self

Source§

impl UInt for u64

Source§

fn ror(self, i: u32) -> Self

Source§

fn overflow_add(self, v: Self) -> Self

Source§

impl UInt for u128

Source§

fn ror(self, i: u32) -> Self

Source§

fn overflow_add(self, v: Self) -> Self

Implementors§