pub struct CacheCore<const KEY_BITS: usize, const VALUE_BITS: usize, const CACHE_SIZE: usize, T: AtomicStorage> {
values: [T; CACHE_SIZE],
}Expand description
Core cache
Fields§
§values: [T; CACHE_SIZE]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const KEY_BITS: usize, const VALUE_BITS: usize, const CACHE_SIZE: usize, T> Freeze for CacheCore<KEY_BITS, VALUE_BITS, CACHE_SIZE, T>where
T: Freeze,
impl<const KEY_BITS: usize, const VALUE_BITS: usize, const CACHE_SIZE: usize, T> RefUnwindSafe for CacheCore<KEY_BITS, VALUE_BITS, CACHE_SIZE, T>where
T: RefUnwindSafe,
impl<const KEY_BITS: usize, const VALUE_BITS: usize, const CACHE_SIZE: usize, T> Send for CacheCore<KEY_BITS, VALUE_BITS, CACHE_SIZE, T>where
T: Send,
impl<const KEY_BITS: usize, const VALUE_BITS: usize, const CACHE_SIZE: usize, T> Sync for CacheCore<KEY_BITS, VALUE_BITS, CACHE_SIZE, T>where
T: Sync,
impl<const KEY_BITS: usize, const VALUE_BITS: usize, const CACHE_SIZE: usize, T> Unpin for CacheCore<KEY_BITS, VALUE_BITS, CACHE_SIZE, T>where
T: Unpin,
impl<const KEY_BITS: usize, const VALUE_BITS: usize, const CACHE_SIZE: usize, T> UnsafeUnpin for CacheCore<KEY_BITS, VALUE_BITS, CACHE_SIZE, T>where
T: UnsafeUnpin,
impl<const KEY_BITS: usize, const VALUE_BITS: usize, const CACHE_SIZE: usize, T> UnwindSafe for CacheCore<KEY_BITS, VALUE_BITS, CACHE_SIZE, T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more