Skip to main content

Crate chargrid_core

Crate chargrid_core 

Source

Re-exports§

pub use chargrid_input as input;
pub use rgb_int;

Modules§

app
prelude
types/traits/modules useful for implementing Component and friends

Macros§

ctx_tint

Structs§

BoundingBox
BoxedComponent
A wrapper of Component implementation which erases its specific by placing it inside a Box
Ctx
FrameBuffer
FrameBufferCell
ICoord
General purpose icoordinate
RenderCell
Rgba32
Style
TintDim
TintDynCompose
TintIdentity
UCoord

Enums§

Event

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).
Tint

Type Aliases§

FrameBufferEnumerate
FrameBufferIter
FrameBufferRows