Crate distill_loader[][src]

Re-exports

pub use crossbeam_channel;
pub use loader::Loader;
pub use packfile_io::PackfileReader;
pub use rpc_io::RpcIO;
pub use storage::LoadHandle;

Modules

handle

feature: handle. Handles provide automatic reference counting of assets, similar to Rc.

io

LoaderIO provides data requested by Loader.

loader

Loader loads assets into engine-implemented AssetStorages.

packfile_io
rpc_io

feature: rpc_io. RpcIO is an implementation of LoaderIO which communicates with distill_daemon to load and hot reload assets. Intended for development workflows.

storage

AssetStorage is implemented by engines to store loaded asset data.

Macros

if_handle_enabled

Structs

AssetTypeId

UUID of an asset’s Rust type. Produced by TypeUuidDynamic::uuid.

AssetUuid

A universally unique identifier for an asset. An asset can be a value of any Rust type that implements TypeUuidDynamic + serde::Serialize + Send.

Enums

AssetRef

A potentially unresolved reference to an asset

Type Definitions

Result