pub struct UniquePtr<T: ?Sized>(/* private fields */);
Expand description
Pointer to object allocated on the C++ heap. The pointer may be null.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for UniquePtr<T>where
T: ?Sized,
impl<T> RefUnwindSafe for UniquePtr<T>where
T: RefUnwindSafe + ?Sized,
impl<T> !Send for UniquePtr<T>
impl<T> !Sync for UniquePtr<T>
impl<T> Unpin for UniquePtr<T>where
T: ?Sized,
impl<T> UnwindSafe for UniquePtr<T>where
T: RefUnwindSafe + ?Sized,
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