Crate chargrid_core
source ·Re-exports§
pub use chargrid_input as input;
pub use rgb_int;
Modules§
- types/traits/modules useful for implementing
Component
and friends
Macros§
Structs§
- A wrapper of
Component
implementation which erases its specific by placing it inside aBox
- General purpose coordinate
- 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§
Traits§
- 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 (theState
type). Additionally, in response to an input, a component yields a value (theOutput
type).