Struct cachy::Cache [] [src]

pub struct Cache<R> { /* fields omitted */ }

A store of loaded resources

Methods

impl<R> Cache<R>
[src]

Creates a new Cache

Use the specified ResourceLoader to load/create a resource, and cache it

Checks on asynchrous cache requests, and caches them if available

Use the specifed ResourceLoader to load/create a resource on a separate thread, and cache it if successful