pub struct UnsafePtr<T: GarbageCollected> { /* private fields */ }Expand description
UnsafePtr is used to refer to an on-heap object from the stack.
Implementations§
Source§impl<T: GarbageCollected> UnsafePtr<T>
impl<T: GarbageCollected> UnsafePtr<T>
Trait Implementations§
impl<T: Copy + GarbageCollected> Copy for UnsafePtr<T>
Auto Trait Implementations§
impl<T> Freeze for UnsafePtr<T>
impl<T> RefUnwindSafe for UnsafePtr<T>where
T: RefUnwindSafe,
impl<T> !Send for UnsafePtr<T>
impl<T> !Sync for UnsafePtr<T>
impl<T> Unpin for UnsafePtr<T>where
T: Unpin,
impl<T> UnsafeUnpin for UnsafePtr<T>
impl<T> UnwindSafe for UnsafePtr<T>where
T: 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