Module veloren_common_assets::loader

Expand description

Generic asset loading definition

This module defines a trait Loader, to specify how assets are loaded from raw bytes.

It also defines loaders, ie types that implement Loader, so in most cases you don’t have to implement this trait yourself. These loaders work with standard traits and serde.

See trait Loader for more information.

Structs§

Traits§

  • Specifies how an asset is loaded.

Type Aliases§