Trait Caches
dashcache
pub trait Caches<T: ?Sized>: Hash + Eq + Clone + CanCollect { fn cached(&self) -> &T; }
A container which can be used to cache values of type T
T
fn cached(&self) -> &T
Get a reference to the cached value of type T
impl<T: Hash + Eq + ?Sized> Caches<T> for Arc<T>
impl<A: Eq + Deref, P> Caches<[A]> for CachedArr<A, P>
fn cached(&self) -> &[A]