Module bevy_asset::io
source · Modules
Structs
- A collection of unprocessed and processed
AssetReader
,AssetWriter
, andAssetWatcher
instances for a specific asset source, identified by anAssetSourceId
. - Metadata about an “asset source”, such as how to construct the
AssetReader
andAssetWriter
for the source, and whether or not the source is processed. - A
Resource
that hold (repeatable) functions capable of producing newAssetReader
andAssetWriter
instances for a given asset source. - A collection of
AssetSources
. - An error returned when an
AssetSource
does not exist for a given id. - An error returned when an
AssetWriter
does not exist for a given id. - An error returned when a processed
AssetReader
does not exist for a given id. - An error returned when a processed
AssetWriter
does not exist for a given id.
Enums
- Errors that occur while loading assets.
- An “asset source change event” that occurs whenever asset (or asset metadata) is created/added/removed
- A reference to an “asset source”, which maps to an
AssetReader
and/orAssetWriter
. - Errors that occur while loading assets.
Traits
- Performs read operations on an asset storage.
AssetReader
exposes a “virtual filesystem” API, where asset bytes and asset metadata bytes are both stored and accessible for a givenpath
. - A handle to an “asset watcher” process, that will listen for and emit
AssetSourceEvent
values for as long asAssetWatcher
has not been dropped. - Preforms write operations on an asset storage.
AssetWriter
exposes a “virtual filesystem” API, where asset bytes and asset metadata bytes are both stored and accessible for a givenpath
. - Extension trait for
AsyncRead
. - Extension trait for
AsyncWrite
.