Enum hrm_interpreter::Operation
source · pub enum Operation {
Inbox,
Outbox,
Add {
cell: Location,
},
Sub {
cell: Location,
},
CopyFrom {
cell: Location,
},
CopyTo {
cell: Location,
},
Label,
Jump {
next_operation: usize,
},
JumpEqualsZero {
next_operation: usize,
},
JumpNegative {
next_operation: usize,
},
BumpPlus {
cell: Location,
},
BumpMinus {
cell: Location,
},
}
Variants
Inbox
Outbox
Add
Fields
cell: Location
Sub
Fields
cell: Location
CopyFrom
Fields
cell: Location
CopyTo
Fields
cell: Location
Label
Jump
Fields
next_operation: usize
JumpEqualsZero
Fields
next_operation: usize
JumpNegative
Fields
next_operation: usize
BumpPlus
Fields
cell: Location
BumpMinus
Fields
cell: Location
Trait Implementations
impl Copy for Operation
Auto Trait Implementations
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more