pub trait CacheSelector<'tcx, V> {
    type Cache
       where V: Copy;
}

Required Associated Types§

source

type Cache where V: Copy

Implementors§

source§

impl<'tcx, K: Idx, V: 'tcx> CacheSelector<'tcx, V> for VecCacheSelector<K>

§

type Cache = VecCache<K, V> where V: Copy

source§

impl<'tcx, K: Eq + Hash, V: 'tcx> CacheSelector<'tcx, V> for DefaultCacheSelector<K>

§

type Cache = DefaultCache<K, V> where V: Copy

source§

impl<'tcx, V: 'tcx> CacheSelector<'tcx, V> for DefIdCacheSelector

§

type Cache = DefIdCache<V> where V: Copy

source§

impl<'tcx, V: 'tcx> CacheSelector<'tcx, V> for SingleCacheSelector

§

type Cache = SingleCache<V> where V: Copy