Enum cbvm::bytecode::ops::Operations
source · #[repr(u8)]pub enum Operations {
Show 33 variants
NOP,
ADD,
SUB,
MUL,
DIV,
MOD,
AND,
OR,
XOR,
NOT,
EQ,
NEQ,
LT,
GT,
PUSH,
POP,
DUP,
SWAP,
JMP,
JZ,
JNZ,
LOAD,
STORE,
ALLOC,
FREE,
REALLOC,
WRITE,
READ,
FLUSH,
MOV,
FUNC,
RET,
CALL,
}Variants§
NOP
ADD
SUB
MUL
DIV
MOD
AND
OR
XOR
NOT
EQ
NEQ
LT
GT
PUSH
POP
DUP
SWAP
JMP
JZ
JNZ
LOAD
STORE
ALLOC
FREE
REALLOC
WRITE
READ
FLUSH
MOV
FUNC
RET
CALL
Trait Implementations§
source§impl Clone for Operations
impl Clone for Operations
source§fn clone(&self) -> Operations
fn clone(&self) -> Operations
Returns a copy 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 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