Struct lightning::map::HashKVAttachment [−][src]
Trait Implementations
impl<K: Clone + Hash + Eq, V: Clone, A: GlobalAlloc + Default> Attachment<K, V> for HashKVAttachment<K, V, A>
[src]
fn heap_size_of(cap: usize) -> usize
[src]
fn new(_cap: usize, heap_ptr: usize, _heap_size: usize) -> Self
[src]
fn get(&self, index: usize) -> (K, V)
[src]
fn set(&self, index: usize, key: K, val: V)
[src]
fn erase(&self, index: usize)
[src]
fn dealloc(&self)
[src]
fn probe(&self, index: usize, key: &K) -> bool
[src]
Auto Trait Implementations
impl<K, V, A> RefUnwindSafe for HashKVAttachment<K, V, A> where
A: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
A: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V, A> Send for HashKVAttachment<K, V, A> where
A: Send,
K: Send,
V: Send,
A: Send,
K: Send,
V: Send,
impl<K, V, A> Sync for HashKVAttachment<K, V, A> where
A: Sync,
K: Sync,
V: Sync,
A: Sync,
K: Sync,
V: Sync,
impl<K, V, A> Unpin for HashKVAttachment<K, V, A> where
A: Unpin,
K: Unpin,
V: Unpin,
A: Unpin,
K: Unpin,
V: Unpin,
impl<K, V, A> UnwindSafe for HashKVAttachment<K, V, A> where
A: UnwindSafe,
K: UnwindSafe,
V: UnwindSafe,
A: UnwindSafe,
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,