Enum bfk::Op [−][src]
pub enum Op { Inc, Dec, IncPtr, DecPtr, PutChar, GetChar, LoopStart, LoopEnd, }
Expand description
Operations
Variants
Increment data.
Decrement data.
Increment pointer.
Decrement pointer.
Get and put character of data under pointer.
Read character of data under pointer to stdout.
Start of loop.
End of loop.
Trait Implementations
Run the operation over code and environment
fn process_loop_start<R: Read, W: Write>(
code: &Code<Self>,
env: &mut Environment<'_, R, W>
) where
Self: Sized,
fn process_loop_end<R: Read, W: Write>(
code: &Code<Self>,
env: &mut Environment<'_, R, W>
) where
Self: Sized,
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more