Struct cranelift_codegen::isa::StackBaseMask [−][src]
pub struct StackBaseMask(pub u8);
Expand description
Bit mask of supported stack bases.
Many instruction encodings can use different base registers while others only work with the
stack pointer, say. A StackBaseMask
is a bit mask of supported stack bases for a given
instruction encoding.
This behaves like a set of StackBase
variants.
The internal representation as a u8
is public because stack base masks are used in constant
tables generated from the meta-language encoding definitions.
Tuple Fields
0: u8
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StackBaseMask
impl Send for StackBaseMask
impl Sync for StackBaseMask
impl Unpin for StackBaseMask
impl UnwindSafe for StackBaseMask
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.