pub trait FormatIns: Write {
// Required method
fn options(&self) -> &Options;
// Provided methods
fn write_space(&mut self) -> Result { ... }
fn write_separator(&mut self) -> Result { ... }
fn write_reg(&mut self, reg: Reg) -> Result { ... }
fn write_freg(&mut self, reg: FReg) -> Result { ... }
fn write_dreg(&mut self, reg: DReg) -> Result { ... }
fn write_vecreg(&mut self, reg: VecReg) -> Result { ... }
fn write_uimm(&mut self, v: u32) -> Result { ... }
fn write_simm(&mut self, v: i32) -> Result { ... }
fn write_branch(&mut self, target: BranchTarget) -> Result { ... }
fn write_ins(&mut self, ins: &Ins) -> Result { ... }
}Required Methods§
Provided Methods§
fn write_space(&mut self) -> Result
fn write_separator(&mut self) -> Result
fn write_reg(&mut self, reg: Reg) -> Result
fn write_freg(&mut self, reg: FReg) -> Result
fn write_dreg(&mut self, reg: DReg) -> Result
fn write_vecreg(&mut self, reg: VecReg) -> Result
fn write_uimm(&mut self, v: u32) -> Result
fn write_simm(&mut self, v: i32) -> Result
fn write_branch(&mut self, target: BranchTarget) -> Result
fn write_ins(&mut self, ins: &Ins) -> Result
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".