Crate glace
Source pub use image;
pub use indexmap;
pub use serde;
- _example_docs
- Example output of using the
glace!
macro with this directory. (Only present in docs.) - cache
- Data structures used internally by the
self_cached
feature.
- glace
- A proc macro for embedding an entire directory tree into your Rust code in a type-safe, human-friendly, flexible way.
- GlaceError
- An error type for lookup or parsing errors.
- OwnedPathedKey
- An owned wrapper type for serializing and deserializing asset keys that may or may not have a
path known at compile time.
- PathedKey
- A wrapper type for serializing and deserializing asset keys that may or may not have a
path known at compile time.
- Asset
- Implemented by asset keys whose variants represent instances of a concrete type, defined as
Asset::Value
. - BytesAsset
- Implemented by asset keys whose variants represent raw binary data.
- CachedAsset
- Implemented by asset keys that can cache their corresponding values. (Requires the
self_cached
feature.) - FileAsset
- Implemented by asset keys whose variants represent files.
- SerdeAsset
- Implemented by asset keys whose variants represent
serde
-compatible data (such as JSON or YAML). - SingleAsset
- 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.
- VirtualAsset
- Implemented by asset keys whose variants each represent a section within a file.
(For example, one value of a YAML map.)
- Result
- Result type for this crate.