#[repr(u8)]pub enum Operations {
Show 37 variants
NOP = 0,
ADD = 1,
SUB = 2,
MUL = 3,
DIV = 4,
MOD = 5,
AND = 6,
OR = 7,
XOR = 8,
NOT = 9,
EQ = 10,
NEQ = 11,
LT = 12,
GT = 13,
PUSH = 14,
POP = 15,
DUP = 16,
SWAP = 17,
JMP = 18,
JZ = 19,
JNZ = 20,
LOAD = 23,
STORE = 24,
ALLOC = 28,
FREE = 29,
REALLOC = 30,
WRITE = 25,
READ = 26,
FLUSH = 31,
MOV = 27,
INC = 21,
DEC = 22,
FUNC = 100,
RET = 101,
CALL = 102,
WRACC = 103,
REACC = 104,
}Variants§
NOP = 0
ADD = 1
SUB = 2
MUL = 3
DIV = 4
MOD = 5
AND = 6
OR = 7
XOR = 8
NOT = 9
EQ = 10
NEQ = 11
LT = 12
GT = 13
PUSH = 14
POP = 15
DUP = 16
SWAP = 17
JMP = 18
JZ = 19
JNZ = 20
LOAD = 23
STORE = 24
ALLOC = 28
FREE = 29
REALLOC = 30
WRITE = 25
READ = 26
FLUSH = 31
MOV = 27
INC = 21
DEC = 22
FUNC = 100
RET = 101
CALL = 102
WRACC = 103
REACC = 104
Trait Implementations§
Source§impl Clone for Operations
impl Clone for Operations
Source§fn clone(&self) -> Operations
fn clone(&self) -> Operations
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 Operations
impl Debug for Operations
Source§impl From<Byte> for Operations
impl From<Byte> for Operations
Source§impl From<u8> for Operations
impl From<u8> for Operations
Source§fn from(code: u8) -> Operations
fn from(code: u8) -> Operations
Converts to this type from the input type.
impl Copy for Operations
Auto Trait Implementations§
impl Freeze for Operations
impl RefUnwindSafe for Operations
impl Send for Operations
impl Sync for Operations
impl Unpin for Operations
impl UnwindSafe for Operations
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