Re-exports§
Modules§
- _example_
docs - Example output of using the
glace!macro with this directory. (Only present in docs.) - cache
- Data structures used internally by the
self_cachedfeature.
Macros§
- glace
- A proc macro for embedding an entire directory tree into your Rust code in a type-safe, human-friendly, flexible way.
Enums§
- Glace
Error - An error type for lookup or parsing errors.
- Owned
Pathed Key - An owned wrapper type for serializing and deserializing asset keys that may or may not have a path known at compile time.
- Pathed
Key - A wrapper type for serializing and deserializing asset keys that may or may not have a path known at compile time.
Traits§
- Asset
- Implemented by asset keys whose variants represent instances of a concrete type, defined as
Asset::Value. - Bytes
Asset - Implemented by asset keys whose variants represent raw binary data.
- Cached
Asset - Implemented by asset keys that can cache their corresponding values. (Requires the
self_cachedfeature.) - File
Asset - Implemented by asset keys whose variants represent files.
- Serde
Asset - Implemented by asset keys whose variants represent
serde-compatible data (such as JSON or YAML). - Single
Asset - Implemented by single-value (non-enum) asset keys that represent the contents of a single known file.
- StrAsset
- Implemented by asset keys whose variants represent UTF-8 text data.
- Virtual
Asset - Implemented by asset keys whose variants each represent a section within a file. (For example, one value of a YAML map.)
Type Aliases§
- Result
- Result type for this crate.