pub trait CacheTrait: 'static + Send + Sync {
    fn update(&mut self);
    fn len(&self) -> usize;
    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static);
}

Required Methods

Call once per frame to evict cache.

Number of values currently in the cache.

Implementors