Crate prototty [] [src]

Modules

colours
inputs

Structs

Coord

General purpose coordinate

Rgb24
Size

A size cannot be created which would contain un-addressable cells. That is, the maximum size has a width and height of one greater than the maximum i32.

Enums

Input

An input event

LoadError
StoreError

Traits

Renderer

Trait to implement for renderers that take data and a view that knows how to render the data to a grid, and actually draws the result.

Storage
View

Defines a method for rendering a T to the terminal.

ViewCell

A cell that a view can write to

ViewGrid

A grid of cells

ViewSize

Report the size of a T when rendered.