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

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

The literal 1.

The literal !0.

Implementations on Foreign Types

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.

Implementors