Crate bones_asset

source ·
Expand description

An asset interface for Bones.

Re-exports§

  • pub use anyhow;
  • pub use dashmap;

Modules§

Structs§

Enums§

Statics§

Traits§

  • Let Path and PathBuf have absolutize and absolutize_virtually method.
  • AssetIo is a trait that is implemented for backends capable of loading all the games assets and returning the raw bytes stored in asset files.
  • A custom assset loader.
  • Trait implemented for types that can produce an instance of themselves from a Rust type.
  • Trait implemented for types that have a [Schema].

Functions§

  • Helper function to return type data for a custom asset loader.
  • Helper function to return type data for a metadata asset.

Type Aliases§

  • The unique ID for an asset pack.
  • Type alias for Pin<Box<dyn Future<Output = T> + Send + 'static>>.

Derive Macros§

  • Derive macro for the HasSchema trait.