Enum bf::rle::Statement[][src]

pub enum Statement {
    Cmd(CommandCount),
    Loop(Box<[Statement]>),
}

A run-length encoded BF instruction.

Variants

Repeats the given command the given number of times.

Invariants

The Command cannot be Begin or End.

A loop surrounding a sequence of instructions.

Trait Implementations

impl Clone for Statement
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Statement
[src]

Formats the value using the given formatter. Read more

impl Eq for Statement
[src]

impl PartialEq for Statement
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Statement

impl Sync for Statement