Enum brain::Instruction [] [src]

pub enum Instruction {
    Right,
    Left,
    Increment,
    Decrement,
    Write,
    Read,
    JumpForwardIfZero,
    JumpBackwardUnlessZero,
}

Variants

Trait Implementations

impl Debug for Instruction
[src]

Formats the value using the given formatter.

impl PartialEq for Instruction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Instruction
[src]

impl Clone for Instruction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Instruction
[src]

impl Display for Instruction
[src]

Formats the value using the given formatter. Read more