Struct amethyst_assets::Directory [] [src]

pub struct Directory { /* fields omitted */ }

Directory store.

Please note that there is a default directory storage inside the Loader, which is automatically used when you call load. In case you want another, second, directory for assets, you can instantiate one yourself, too. Please use Loader::load_from then.

Methods

impl Directory
[src]

Creates a new directory storage.

Trait Implementations

impl Debug for Directory
[src]

Formats the value using the given formatter.

impl Store for Directory
[src]

The error that may occur when calling modified or load.

The result type of load.

This is called to check if an asset has been modified. Read more

Loads the bytes given a category, id and extension of the asset. Read more