pub struct CownPtr<T: Send> {
inner: Arc<Cown<T>>,
}
Expand description
Public interface to Cown.
Fields§
§inner: Arc<Cown<T>>
Implementations§
Trait Implementations§
impl<T: Send> Send for CownPtr<T>
Auto Trait Implementations§
impl<T> Freeze for CownPtr<T>
impl<T> !RefUnwindSafe for CownPtr<T>
impl<T> !Sync for CownPtr<T>
impl<T> Unpin for CownPtr<T>
impl<T> !UnwindSafe for CownPtr<T>
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