pub struct ViewMut<'a, K: ?Sized + ToIndex, P, S: GetMut<K>>{
data: &'a mut S,
_k: PhantomData<K>,
_proj: PhantomData<P>,
}Fields§
§data: &'a mut S§_k: PhantomData<K>§_proj: PhantomData<P>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, K, P, S> Freeze for ViewMut<'a, K, P, S>where
K: ?Sized,
impl<'a, K, P, S> RefUnwindSafe for ViewMut<'a, K, P, S>
impl<'a, K, P, S> Send for ViewMut<'a, K, P, S>
impl<'a, K, P, S> Sync for ViewMut<'a, K, P, S>
impl<'a, K, P, S> Unpin for ViewMut<'a, K, P, S>
impl<'a, K, P, S> !UnwindSafe for ViewMut<'a, K, P, S>
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