Trait assets_manager::AsAnyCache
source · pub trait AsAnyCache<'a> {
// Required method
fn as_any_cache(&self) -> AnyCache<'a>;
}
Expand description
Used to get an AnyCache
from a type.
This is useful to make generic functions that can work with any cache type.
Required Methods§
sourcefn as_any_cache(&self) -> AnyCache<'a>
fn as_any_cache(&self) -> AnyCache<'a>
Converts this type to an AnyCache
.