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 StackBaseMaskTrait Implementations
impl Clone for StackBaseMask[src]
impl Clone for StackBaseMaskfn clone(&self) -> StackBaseMask[src]
fn clone(&self) -> StackBaseMaskReturns 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 StackBaseMaskimpl Debug for StackBaseMask[src]
impl Debug for StackBaseMaskfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for StackBaseMask[src]
impl PartialEq for StackBaseMaskfn eq(&self, other: &StackBaseMask) -> bool[src]
fn eq(&self, other: &StackBaseMask) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for StackBaseMask[src]
impl Eq for StackBaseMaskAuto Trait Implementations
impl Send for StackBaseMask
impl Send for StackBaseMaskimpl Sync for StackBaseMask
impl Sync for StackBaseMask