pub enum Opcode {
Show 13 variants
NOP,
MOV,
SWP,
SAV,
ADD,
SUB,
NEG,
JMP,
JEZ,
JNZ,
JGZ,
JLZ,
JRO,
}Expand description
The opcode component of a TIS-100 instruction.
Variants§
Trait Implementations§
impl Copy for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
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