Module bones_asset::prelude

source ·
Expand description

The prelude.

Re-exports

Modules

Structs

Enums

  • A [type data][bones_schema::alloc::TypeDatas] that indicates how to load a type as an asset.
  • An ID for an asset that has changed.
  • A type for an enum tag for EnumSchemaInfo.
  • The index of a field in a struct in a [Schema].
  • A type of primitive.
  • Helper for accessing the inner data of a schema ref at runtime.
  • Helper for accessing the inner data of a schema ref at runtime.
  • A schema describes the data layout of a type, to enable dynamic access to the type’s data through a pointer.
  • Helper for accessing the inner data of a schema ref at runtime.
  • Access a schema

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

Derive Macros

  • Derive macro for the HasSchema trait.