Module storage

Module storage 

Source
Expand description

AssetStorage is implemented by engines to store loaded asset data.

Structs§

AssetLoadOp
Type that allows the downstream asset storage implementation to signal that an asset update operation has completed. See AssetStorage::update_asset.
AtomicHandleAllocator
An implementation of HandleAllocator which uses an incrementing AtomicU64 internally to allocate LoadHandle IDs.
DefaultIndirectionResolver
Default implementation of IndirectionResolver which resolves to the first asset in the list of candidates of the appropriate type.
IndirectionTable
Resolves indirect LoadHandles. See LoadHandle::is_indirect for details.
LoadHandle
Loading ID allocated by Loader to track loading of a particular asset or an indirect reference to an asset.
LoadInfo
Information about an asset load operation.

Enums§

IndirectIdentifier
An indirect identifier that can be resolved to a specific AssetUuid by an IndirectionResolver impl.
LoadStatus
Asset loading status.

Traits§

AssetStorage
Storage for all assets of all asset types.
HandleAllocator
Allocates LoadHandles for Loader implementations.
IndirectionResolver
Resolves ambiguous IndirectIdentifiers to a single asset ID given a set of candidates.
LoaderInfoProvider
Provides information about mappings between AssetUuid and LoadHandle. Intended to be used for Handle serde.