Expand description
The emoji model + the three ways to move it around: build
(EmojiBuilder), serialize (EmojiExporter), store
(Registry), plus sprite helpers.
Modules§
- sprites
- Sprite atlas helpers: frame geometry and frame extraction. Used by the renderers; kept renderer-agnostic so a future GPU renderer reuses them.
Structs§
- Emoji
- An emoji: a name plus an ordered list of typed blocks.
- Emoji
Builder - Fluent builder.
build()is infallible: validation happens in theadd_*methods, which repair inconsistent input (documented per method) instead of panicking. - Emoji
Exporter - Stateless serializer/deserializer for
Emoji. - Registry
- The registry. Cheap to construct; all state lives on disk.
- Registry
Entry - One entry in the registry.