pub trait InstSink {
// Required methods
fn arch(&self) -> Arch;
fn emit_inst(&mut self, inst: &Inst) -> Result<(), AsmError>;
fn bind_label(&mut self, label: Label) -> Result<(), AsmError>;
}Expand description
Sink that consumes replayed nodes — implemented by each architecture’s Assembler.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".