[][src]Module dcc_lsystem::turtle

Structs

BaseTurtle
SimpleTurtle

A simple turtle implementation. It has the following features:

TurtleLSystemBuilder

A TurtleLSystemBuilder is used to generate an L-system and a turtle based renderer based don this L-system.

TurtleLSystemState

The state modified by a TurtleLSystemRenderer. Each TurtleAction corresponds to a modifier of the form Fn(&mut TurtleLSystemState).

Uniform

A uniform distribution.

Enums

Heading

Represents the cardinal directions.

TurtleAction

The possible actions we can associate to tokens in our LSystem.

Traits

Distribution

An integer-valued probability distribution.

MovingTurtle

A simple trait for an integer-valued Turtle.

Stack
TurtleContainer

This trait indicates that the implementor contains a turtle for us to play with.