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