pub trait Instruction:
Copy
+ Clone
+ Debug
+ Display {
// Required methods
fn value(&self) -> u64;
fn bytes(&self) -> Vec<u8> ⓘ;
fn size(&self) -> usize;
}Expand description
A machine instruction that can be encoded to bytes
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".