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 meta-language encoding definitions.
Implementations
impl StackBaseMask[src]
impl StackBaseMask[src]Trait Implementations
impl Clone for StackBaseMask[src]
impl Clone for StackBaseMask[src]fn clone(&self) -> StackBaseMask[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl PartialEq<StackBaseMask> for StackBaseMask[src]
impl PartialEq<StackBaseMask> for StackBaseMask[src]