pub trait Reg:
    Copy
    + Clone
    + Eq
    + PartialEq
    + Debug
    + Hash
    + Ord {
    // Required methods
    fn into_index(self) -> usize;
    fn from_index(i: usize) -> Result<Self, ()>;
    fn iterator() -> Iter<'static, Self>;
    fn to_dwarf(self) -> Register;
}

Required Methods§

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) -> Register

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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