[][src]Trait dcc_lsystem::turtle::Stack

pub trait Stack: MovingTurtle {
    fn push(&mut self);
fn pop(&mut self); }

Required methods

fn push(&mut self)

Push the current state of this turtle onto a stack

fn pop(&mut self)

Pop the current state of this turtle onto a stack

Loading content...

Implementors

impl Stack for LatticeTurtle[src]

impl Stack for SimpleTurtle[src]

fn push(&mut self)[src]

Pushes the current position and heading of the turtle onto the stack.

fn pop(&mut self)[src]

Pops the position and heading off the stack.

Loading content...