sel4_bitfield_ops

Trait UnsignedPrimInt

Source
pub trait UnsignedPrimInt:
    UnsignedPrimIntSealed
    + Copy
    + Eq
    + Not<Output = Self>
    + BitAnd<Output = Self>
    + BitOr<Output = Self>
    + BitAndAssign
    + BitOrAssign
    + Shl<usize, Output = Self>
    + Shr<usize, Output = Self>
    + From<bool> {
    const NUM_BITS: usize = _;

    // Provided methods
    fn zero() -> Self { ... }
    fn one() -> Self { ... }
}

Provided Associated Constants§

Source

const NUM_BITS: usize = _

Provided Methods§

Source

fn zero() -> Self

Source

fn one() -> 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 UnsignedPrimInt for u8

Source§

impl UnsignedPrimInt for u16

Source§

impl UnsignedPrimInt for u32

Source§

impl UnsignedPrimInt for u64

Source§

impl UnsignedPrimInt for u128

Source§

impl UnsignedPrimInt for usize

Implementors§