Trait bitvec::mem::BitRegister[][src]

pub trait BitRegister: BitMemory + BitOps {
    const ONE: Self;
    const ALL: Self;
}

Description of a processor register.

This trait provides information used to describe processor registers. It only needs to contain constant values for 1 and !0; the rest of its information is contained in the presence or absence of its implementation on particular integers.

Associated Constants

const ONE: Self[src]

The literal 1.

const ALL: Self[src]

The literal !0.

Loading content...

Implementations on Foreign Types

impl BitRegister for u8[src]

impl BitRegister for u16[src]

impl BitRegister for u32[src]

impl BitRegister for u64[src]

u64 can only be used as a register on processors whose word size is at least 64 bits.

This implementation is not present on targets with 32-bit processor words.

impl BitRegister for usize[src]

Loading content...

Implementors

Loading content...