pub trait Inst {
type Args;
const LIT: &'static str;
// Required method
fn instruction(ident: Ident, args: Self::Args) -> Instruction;
}
Expand description
A specific instruction.
Required Associated Constants§
Required Associated Types§
Required Methods§
fn instruction(ident: Ident, args: Self::Args) -> Instruction
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.