Enum bf::peephole::Statement [−][src]
pub enum Statement {
Instr(Instruction),
Loop(Box<[Statement]>),
}Instructions as output by the peephole optimizer.
Variants
Instr(Instruction)A bytecode instruction, which does not contain any loops.
Invariants
Should not contain a JumpZero or JumpNotZero instruction.
Loop(Box<[Statement]>)A loop.
Trait Implementations
impl Clone for Statement[src]
impl Clone for Statementfn clone(&self) -> Statement[src]
fn clone(&self) -> StatementReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Statement[src]
impl Debug for Statementfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for Statement[src]
impl Eq for Statementimpl PartialEq for Statement[src]
impl PartialEq for Statement