Enum brainfuck::Instruction
[−]
[src]
pub enum Instruction { Right, Left, Increment, Decrement, Write, Read, JumpForwardIfZero { matching: Option<usize>, }, JumpBackwardUnlessZero { matching: usize, }, }
Variants
Right
Left
Increment
Decrement
Write
Read
JumpForwardIfZero
Fields of JumpForwardIfZero
matching: Option<usize> |
JumpBackwardUnlessZero
Fields of JumpBackwardUnlessZero
matching: usize |
Trait Implementations
impl Debug for Instruction
[src]
impl PartialEq for Instruction
[src]
fn eq(&self, __arg_0: &Instruction) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Instruction) -> bool
This method tests for !=
.
impl Eq for Instruction
[src]
impl Clone for Instruction
[src]
fn clone(&self) -> Instruction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more