Skip to main content

Module loaders

Module loaders 

Source
Expand description

The loaders the asset pipeline ships with.

Each one is an ordinary crate::AssetLoader with no privileges over a loader an app or plugin registers: AssetLoaders::default registers these two and nothing else, and registering another loader for the same extension replaces the built-in one.

Structs§

ImageLoader
Decodes a raster image into ImageData.
SvgLoader
Parses an SVG into a SvgData.

Constants§

IMAGE_EXTENSIONS
Extensions the image loader claims.
SVG_EXTENSIONS
Extensions the SVG loader claims.