#[repr(u8)]pub enum OpcodeClass {
    Load = 0,
    LoadReg = 1,
    Store = 2,
    StoreReg = 3,
    Arithmetic = 4,
    Jump = 5,
    Jump32 = 6,
    Arithmetic64 = 7,
}Expand description
Enum for each opcode defined in the spec. This is the 3 LSB of the first byte in the instruction.
Variants§
Trait Implementations§
Source§impl Clone for OpcodeClass
 
impl Clone for OpcodeClass
Source§fn clone(&self) -> OpcodeClass
 
fn clone(&self) -> OpcodeClass
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for OpcodeClass
 
impl Debug for OpcodeClass
Source§impl Ord for OpcodeClass
 
impl Ord for OpcodeClass
Source§fn cmp(&self, other: &OpcodeClass) -> Ordering
 
fn cmp(&self, other: &OpcodeClass) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OpcodeClass
 
impl PartialEq for OpcodeClass
Source§impl PartialOrd for OpcodeClass
 
impl PartialOrd for OpcodeClass
impl Copy for OpcodeClass
impl Eq for OpcodeClass
impl StructuralPartialEq for OpcodeClass
Auto Trait Implementations§
impl Freeze for OpcodeClass
impl RefUnwindSafe for OpcodeClass
impl Send for OpcodeClass
impl Sync for OpcodeClass
impl Unpin for OpcodeClass
impl UnwindSafe for OpcodeClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more