Skip to main content

Module saver

Module saver 

Source

Structs§

ErasedSavedAsset
SavedAsset
An Asset (and any labeled “sub assets”) intended to be saved.
SavedAssetBuilder
A builder for creating SavedAsset instances (for use with asset saving).

Enums§

SaveAssetError
An error occurring when saving an asset.

Traits§

AssetSaver
Saves an Asset of a given AssetSaver::Asset type. AssetSaver::OutputLoader will then be used to load the saved asset in the final deployed application. The saver should produce asset bytes in a format that AssetSaver::OutputLoader can read.
ErasedAssetSaver
A type-erased dynamic variant of AssetSaver that allows callers to save assets without knowing the actual type of the AssetSaver.

Functions§

save_using_saver
Saves asset to path using the provided saver and settings.