Struct cranelift_codegen::isa::StackBaseMask [−][src]
pub struct StackBaseMask(pub u8);
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 Python encoding definitions.
Methods
impl StackBaseMask
[src]
impl StackBaseMask
Trait Implementations
impl Clone for StackBaseMask
[src]
impl Clone for StackBaseMask
fn clone(&self) -> StackBaseMask
[src]
fn clone(&self) -> StackBaseMask
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for StackBaseMask
[src]
impl Copy for StackBaseMask
impl Debug for StackBaseMask
[src]
impl Debug for StackBaseMask
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for StackBaseMask
[src]
impl PartialEq for StackBaseMask
fn eq(&self, other: &StackBaseMask) -> bool
[src]
fn eq(&self, other: &StackBaseMask) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &StackBaseMask) -> bool
[src]
fn ne(&self, other: &StackBaseMask) -> bool
This method tests for !=
.
impl Eq for StackBaseMask
[src]
impl Eq for StackBaseMask
Auto Trait Implementations
impl Send for StackBaseMask
impl Send for StackBaseMask
impl Sync for StackBaseMask
impl Sync for StackBaseMask