cranelift::prelude::isa::x64::args

Trait ToWritableReg

pub trait ToWritableReg {
    // Required method
    fn to_writable_reg(&self) -> Writable<Reg>;
}
Expand description

An extension trait for converting Writable{Xmm,Gpr} to Writable<Reg>.

Required Methods§

fn to_writable_reg(&self) -> Writable<Reg>

Convert Writable{Xmm,Gpr} to Writable<Reg>.

Implementors§

§

impl ToWritableReg for Writable<Gpr>

§

impl ToWritableReg for Writable<Xmm>