Crate chargrid_runtime

Source

Re-exports§

pub use chargrid_core::rgb_int;

Modules§

app

Structs§

Coord
General purpose coordinate
FrameBuffer
FrameBufferCell
Rgba32
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.

Traits§

Component
A tick-based UI element which can be rendered, respond to events, and yield values. Typically, a component will be re-rendered (via its render method) each frame. Each time an input event occurs, a component may update its internal state or its external state (the State type). Additionally, in response to an input, a component yields a value (the Output type).

Functions§

on_frame
on_input