pub struct HashKVAttachment<K, V, A: GlobalAlloc + Default> { /* private fields */ }
Trait Implementations§
Source§impl<K: Clone + Hash + Eq, V: Clone, A: GlobalAlloc + Default> Attachment<K, V> for HashKVAttachment<K, V, A>
impl<K: Clone + Hash + Eq, V: Clone, A: GlobalAlloc + Default> Attachment<K, V> for HashKVAttachment<K, V, A>
fn heap_size_of(cap: usize) -> usize
fn new(_cap: usize, heap_ptr: usize, _heap_size: usize) -> Self
fn get(&self, index: usize) -> (K, V)
fn set(&self, index: usize, key: K, val: V)
fn erase(&self, index: usize)
fn dealloc(&self)
fn probe(&self, index: usize, key: &K) -> bool
Auto Trait Implementations§
impl<K, V, A> Freeze for HashKVAttachment<K, V, A>
impl<K, V, A> RefUnwindSafe for HashKVAttachment<K, V, A>
impl<K, V, A> Send for HashKVAttachment<K, V, A>
impl<K, V, A> Sync for HashKVAttachment<K, V, A>
impl<K, V, A> Unpin for HashKVAttachment<K, V, A>
impl<K, V, A> UnwindSafe for HashKVAttachment<K, V, A>
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