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§

source

fn from_writable_reg(w: Writable<Reg>) -> Option<Self>

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

Object Safety§

This trait is not object safe.

Implementors§