Trait cranelift_codegen::isa::x64::args::FromWritableReg
source · pub trait FromWritableReg: Sized {
// Required method
fn from_writable_reg(w: Writable<Reg>) -> Option<Self>;
}
Expand description
An extension trait for converting Writable<Reg>
to Writable{Xmm,Gpr}
.
Required Methods§
sourcefn from_writable_reg(w: Writable<Reg>) -> Option<Self>
fn from_writable_reg(w: Writable<Reg>) -> Option<Self>
Convert Writable<Reg>
to Writable{Xmm,Gpr}
.