Struct cranelift_codegen::isa::registers::RegClassIndex [−][src]
pub struct RegClassIndex(_);
A small reference to a register class.
Use this when storing register classes in compact data structures. The RegInfo::rc() method
can be used to get the real register class reference back.
Trait Implementations
impl Clone for RegClassIndex[src]
impl Clone for RegClassIndexfn clone(&self) -> RegClassIndex[src]
fn clone(&self) -> RegClassIndexReturns 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 RegClassIndex[src]
impl Copy for RegClassIndeximpl Debug for RegClassIndex[src]
impl Debug for RegClassIndexfn 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 RegClassIndex[src]
impl PartialEq for RegClassIndexfn eq(&self, other: &RegClassIndex) -> bool[src]
fn eq(&self, other: &RegClassIndex) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &RegClassIndex) -> bool[src]
fn ne(&self, other: &RegClassIndex) -> boolThis method tests for !=.
impl Eq for RegClassIndex[src]
impl Eq for RegClassIndeximpl EntityRef for RegClassIndex[src]
impl EntityRef for RegClassIndexfn new(idx: usize) -> Self[src]
fn new(idx: usize) -> SelfCreate a new entity reference from a small integer. This should crash if the requested index is not representable. Read more
fn index(self) -> usize[src]
fn index(self) -> usizeGet the index that was used to create this entity reference.
impl From<RegClass> for RegClassIndex[src]
impl From<RegClass> for RegClassIndeximpl Display for RegClassIndex[src]
impl Display for RegClassIndexAuto Trait Implementations
impl Send for RegClassIndex
impl Send for RegClassIndeximpl Sync for RegClassIndex
impl Sync for RegClassIndex