pub trait InstructionSet: Copy {
// Required method
fn opcode_from_u8(self, byte: u8) -> Option<Opcode>;
}
Required Methods§
fn opcode_from_u8(self, byte: u8) -> Option<Opcode>
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.