Struct mwcas::HeapPointer
source · [−]#[repr(transparent)]pub struct HeapPointer<T> { /* private fields */ }
Expand description
Pointer to data located on heap.
Drop
Heap memory reference by HeapPointer
will be released(and structure will be dropped) as part
of HeapPointer
drop.
Implementations
Trait Implementations
sourceimpl<T: Clone> Clone for HeapPointer<T>
impl<T: Clone> Clone for HeapPointer<T>
sourceimpl<T: Debug> Debug for HeapPointer<T>
impl<T: Debug> Debug for HeapPointer<T>
sourceimpl<T> Drop for HeapPointer<T>
impl<T> Drop for HeapPointer<T>
impl<T: Send> Send for HeapPointer<T>
impl<T: Sync> Sync for HeapPointer<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for HeapPointer<T>where
T: RefUnwindSafe,
impl<T> Unpin for HeapPointer<T>where
T: Unpin,
impl<T> UnwindSafe for HeapPointer<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more