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§

source

fn is_callee_save(self) -> bool

source

fn is_reserved(self) -> bool

source

fn into_index(self) -> usize

source

fn from_index(i: usize) -> Result<Self, ()>

source

fn iterator() -> Iter<'static, Self>

source

fn to_dwarf(self) -> u16

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Reg for wasmer_compiler_singlepass::arm64_decl::GPR

source§

impl Reg for NEON

source§

impl Reg for wasmer_compiler_singlepass::x64_decl::GPR

source§

impl Reg for XMM