pub struct ValueWriteAccess<'a, T: 'a + ?Sized> { /* private fields */ }
Implementations§
Source§impl<'a, T: ?Sized> ValueWriteAccess<'a, T>
impl<'a, T: ?Sized> ValueWriteAccess<'a, T>
Sourcepub unsafe fn new_raw(data: &'a mut T, lifetime: LifetimeState) -> Self
pub unsafe fn new_raw(data: &'a mut T, lifetime: LifetimeState) -> Self
§Safety
Trait Implementations§
Source§impl<'a, T: ?Sized> Deref for ValueWriteAccess<'a, T>
impl<'a, T: ?Sized> Deref for ValueWriteAccess<'a, T>
Source§impl<'a, T: ?Sized> DerefMut for ValueWriteAccess<'a, T>
impl<'a, T: ?Sized> DerefMut for ValueWriteAccess<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for ValueWriteAccess<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for ValueWriteAccess<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for ValueWriteAccess<'a, T>
impl<'a, T> Sync for ValueWriteAccess<'a, T>
impl<'a, T> Unpin for ValueWriteAccess<'a, T>where
T: ?Sized,
impl<'a, T> !UnwindSafe for ValueWriteAccess<'a, 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