pub enum Opcode {
Add(ParameterMode, ParameterMode, ParameterMode),
Multiply(ParameterMode, ParameterMode, ParameterMode),
Input(ParameterMode),
Output(ParameterMode),
JumpIfTrue(ParameterMode, ParameterMode),
JumpIfFalse(ParameterMode, ParameterMode),
LessThan(ParameterMode, ParameterMode, ParameterMode),
Equals(ParameterMode, ParameterMode, ParameterMode),
Halt,
}
Variants§
Add(ParameterMode, ParameterMode, ParameterMode)
Multiply(ParameterMode, ParameterMode, ParameterMode)
Input(ParameterMode)
Output(ParameterMode)
JumpIfTrue(ParameterMode, ParameterMode)
JumpIfFalse(ParameterMode, ParameterMode)
LessThan(ParameterMode, ParameterMode, ParameterMode)
Equals(ParameterMode, ParameterMode, ParameterMode)
Halt
Implementations§
Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)