Trait FromWritableReg
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§
fn from_writable_reg(w: Writable<Reg>) -> Option<Self>
fn from_writable_reg(w: Writable<Reg>) -> Option<Self>
Convert Writable<Reg>
to Writable{Xmm,Gpr}
.
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.