pub struct HeapReference { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Allocator<HeapReference> for Heap
impl Allocator<HeapReference> for Heap
fn allocate(&mut self, cell: ValueCell) -> HeapReference
Source§impl Clone for HeapReference
impl Clone for HeapReference
Source§fn clone(&self) -> HeapReference
fn clone(&self) -> HeapReference
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DataValue for HeapReference
impl DataValue for HeapReference
Source§impl Debug for HeapReference
impl Debug for HeapReference
Source§impl Dereference<HeapReference> for Heap
impl Dereference<HeapReference> for Heap
fn dereference(&self, reference: HeapReference) -> Option<ValueCell>
fn validate(&self, reference: &HeapReference) -> bool
Auto Trait Implementations§
impl Freeze for HeapReference
impl !RefUnwindSafe for HeapReference
impl !Send for HeapReference
impl !Sync for HeapReference
impl Unpin for HeapReference
impl !UnwindSafe for HeapReference
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)