Skip to main content

Cache

Type Alias Cache 

Source
pub type Cache<const KEY_BITS: usize, const VALUE_BITS: usize, const CACHE_SIZE: usize, const STORAGE_BITS: usize> = CacheCore<KEY_BITS, VALUE_BITS, CACHE_SIZE, <() as SelectAtomic<STORAGE_BITS>>::Type>;
Expand description

Public wrapper

Aliased Type§

pub struct Cache<const KEY_BITS: usize, const VALUE_BITS: usize, const CACHE_SIZE: usize, const STORAGE_BITS: usize> {
    values: [<() as SelectAtomic<STORAGE_BITS>>::Type; CACHE_SIZE],
}

Fields§

§values: [<() as SelectAtomic<STORAGE_BITS>>::Type; CACHE_SIZE]