Trait wasmer_compiler_singlepass::location::Reg
source · pub trait Reg: Copy + Clone + Eq + PartialEq + Debug + Hash + Ord {
// Required methods
fn is_callee_save(self) -> bool;
fn is_reserved(self) -> bool;
fn into_index(self) -> usize;
fn from_index(i: usize) -> Result<Self, ()>;
fn iterator() -> Iter<'static, Self>;
fn to_dwarf(self) -> u16;
}
Required Methods§
fn is_callee_save(self) -> bool
fn is_reserved(self) -> bool
fn into_index(self) -> usize
fn from_index(i: usize) -> Result<Self, ()>
fn iterator() -> Iter<'static, Self>
fn to_dwarf(self) -> u16
Object Safety§
This trait is not object safe.