pub struct PtrMutWide<'mem> { /* private fields */ }Expand description
A type-erased, mutable wide pointer to an initialized value.
Like PtrMut, but for unsized types where metadata is needed. Provides mutable access
to the underlying object, whose borrow is tracked by lifetime 'mem.
Implementations§
Trait Implementations§
Source§impl<'mem> Clone for PtrMutWide<'mem>
impl<'mem> Clone for PtrMutWide<'mem>
Source§fn clone(&self) -> PtrMutWide<'mem>
fn clone(&self) -> PtrMutWide<'mem>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'mem> Copy for PtrMutWide<'mem>
Auto Trait Implementations§
impl<'mem> Freeze for PtrMutWide<'mem>
impl<'mem> RefUnwindSafe for PtrMutWide<'mem>
impl<'mem> !Send for PtrMutWide<'mem>
impl<'mem> !Sync for PtrMutWide<'mem>
impl<'mem> Unpin for PtrMutWide<'mem>
impl<'mem> !UnwindSafe for PtrMutWide<'mem>
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