Struct cretonne::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]
Trait Implementations
impl Clone for StackBaseMask
[src]
fn clone(&self) -> StackBaseMask
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for StackBaseMask
[src]
impl Debug for StackBaseMask
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for StackBaseMask
[src]
fn eq(&self, __arg_0: &StackBaseMask) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StackBaseMask) -> bool
[src]
This method tests for !=
.