pub struct CownPtr { /* private fields */ }Expand description
Equivalent to rt::Cown* on the C++ side.
This is a reference cointed pointer, so embeders shouldn’t implement Copy.
Implementations§
Trait Implementations§
impl Copy for CownPtr
impl Send for CownPtr
impl Sync for CownPtr
Auto Trait Implementations§
impl Freeze for CownPtr
impl RefUnwindSafe for CownPtr
impl Unpin for CownPtr
impl UnwindSafe for CownPtr
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