pub struct ArrayKeyPointers<KEY: Key, const KEYS: usize> { /* private fields */ }Expand description
A cache that stores keys in an array. The array may be smaller than the amount of keys, but that will reduce performance.
Implementations§
Trait Implementations§
impl<const KEYS: usize, KEY: Key> KeyPointersCache<KEY> for ArrayKeyPointers<KEY, KEYS>
Auto Trait Implementations§
impl<KEY, const KEYS: usize> Freeze for ArrayKeyPointers<KEY, KEYS>
impl<KEY, const KEYS: usize> RefUnwindSafe for ArrayKeyPointers<KEY, KEYS>
impl<KEY, const KEYS: usize> Send for ArrayKeyPointers<KEY, KEYS>
impl<KEY, const KEYS: usize> Sync for ArrayKeyPointers<KEY, KEYS>
impl<KEY, const KEYS: usize> Unpin for ArrayKeyPointers<KEY, KEYS>
impl<KEY, const KEYS: usize> UnsafeUnpin for ArrayKeyPointers<KEY, KEYS>
impl<KEY, const KEYS: usize> UnwindSafe for ArrayKeyPointers<KEY, KEYS>
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