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