#[repr(transparent)]pub struct UniqueRef<T: ?Sized>(_);
Expand description
Pointer to object allocated on the C++ heap. The pointer may not be null.
Implementations
Trait Implementations
sourceimpl<T: ?Sized> BorrowMut<T> for UniqueRef<T>
impl<T: ?Sized> BorrowMut<T> for UniqueRef<T>
sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for UniqueRef<T> where
T: RefUnwindSafe,
impl<T> !Send for UniqueRef<T>
impl<T> !Sync for UniqueRef<T>
impl<T: ?Sized> Unpin for UniqueRef<T>
impl<T: ?Sized> UnwindSafe for UniqueRef<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