pub struct HeapKeyPointers<KEY: Key> { /* private fields */ }Expand description
A cache that stores keys in a vec. The vec may be smaller than the amount of keys, but that will reduce performance.
Implementations§
Trait Implementations§
impl<KEY: Key> KeyPointersCache<KEY> for HeapKeyPointers<KEY>
Available on crate feature
alloc only.Auto Trait Implementations§
impl<KEY> Freeze for HeapKeyPointers<KEY>
impl<KEY> RefUnwindSafe for HeapKeyPointers<KEY>where
KEY: RefUnwindSafe,
impl<KEY> Send for HeapKeyPointers<KEY>where
KEY: Send,
impl<KEY> Sync for HeapKeyPointers<KEY>where
KEY: Sync,
impl<KEY> Unpin for HeapKeyPointers<KEY>where
KEY: Unpin,
impl<KEY> UnsafeUnpin for HeapKeyPointers<KEY>
impl<KEY> UnwindSafe for HeapKeyPointers<KEY>where
KEY: 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