pub trait OpcodeBase {
// Required methods
fn opcode(&self) -> Opcode;
fn address(&self) -> u32;
fn mnemonic(&self) -> &'static str;
fn disassemble(&self) -> String;
}Required Methods§
fn opcode(&self) -> Opcode
fn address(&self) -> u32
fn mnemonic(&self) -> &'static str
fn disassemble(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".