Struct asset_lru::AssetCache[][src]

pub struct AssetCache<VfsImpl: Vfs, DecoderImpl: Decoder> { /* fields omitted */ }
Expand description

The Asset cache itself. See crate level documentation for details.

Implementations

Get an item from the cache, decoding if the item isn’t present.

Pin an item, so that it is always present in the cache until explicitly removed.

Remove an item from the cache.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.