Macros
Structs
- A span of text with a map of attributes and values.
- All data necessary to find your place in the story.
- Public interface to choices, just gives choice names.
- Public interface for a command.
- The self-referencing struct.
- Represents the story, which is a map of namespaces to their sections.
Enums
- Error type for validating the kataru yml script.
- Public interface for a line in a Kataru script.
Statics
Traits
- Trait for extract config/story from MessagePack bytes.
- Trait for parsable expressions.
- Trait to load a struct from a file or structured directory.
- Trait to load a struct from a file or structured directory.
- Trait to merge two objects together. Used for maps.
- Trait to save a serializable object to a MessagePack file.
- Trait to save a serializable object to a YAML file.
Functions
- Returns Some(&str) when a variable was successfully extracted. Otherwise returns None.
- Parses the config and story files into RMP and writes to the output.
Type Aliases
- Typedef for state, which is a mapping of values.