#[repr(transparent)]pub struct UniquePtr<T: ?Sized>(_);
Expand description
Pointer to object allocated on the C++ heap. The pointer may be null.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for UniquePtr<T> where
T: RefUnwindSafe,
impl<T> !Send for UniquePtr<T>
impl<T> !Sync for UniquePtr<T>
impl<T: ?Sized> Unpin for UniquePtr<T>
impl<T: ?Sized> UnwindSafe for UniquePtr<T> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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