Skip to main content

Crate extendable_assets

Crate extendable_assets 

Source
Expand description

§Extendable Assets

An asset framework for graphics and games that provides flexible asset management, loading, and saving capabilities.

Modules§

third_party
Third-party re-exports for external crates used by this library.

Structs§

Asset
An asset containing type information and data.
AssetId
AssetManager
Central manager for assets in the system.
EmbedFilesystem
A filesystem implementation that reads from embedded files.
FallbackFilesystem
A filesystem implementation that tries multiple fallback filesystems in order.
JsonAssetSerializationBackend
JSON-based asset serialization backend.
MsgpackAssetSerializationBackend
MessagePack-based asset serialization backend.
NativeFilesystem
A filesystem implementation that reads from the native OS filesystem.
NullSerializationBackend
A null implementation of AssetSerializationBackend that always returns errors.
SerializedAsset
A serialized representation of an asset for storage or transmission.

Enums§

AssetError
Errors that can occur during asset operations.
AssetLoadError
Errors that can occur during asset loading.
AssetSaveError
Errors that can occur during asset saving.
CompressionMode
Specifies the compression algorithm used for compressed asset data.
FilesystemError
Errors that can occur during filesystem operations.
SerializedData
Represents serialized asset data that can be either compressed or uncompressed.

Traits§

AssetData
Trait for asset data that can be stored in an asset.
AssetDataLoader
Trait for loading asset data from raw byte data.
AssetDataSaver
Trait for saving asset data to raw byte data.
AssetManagerContext
Trait for providing additional context to the asset manager.
AssetSerializationBackend
Trait for implementing different asset serialization backends.
AssetType
Defines how a specific type of asset should be loaded and saved.
EmbedFilesystemProvider
Trait for providing access to embedded files.
Filesystem
Abstraction for reading files from different storage backends.