pub enum UnmutateArrayToken<M: Mutator<T>, T: Clone + 'static, const N: usize> {
Element(usize, M::UnmutateToken),
Elements(Vec<(usize, M::UnmutateToken)>),
Replace([T; N]),
}
Variants
Element(usize, M::UnmutateToken)
Elements(Vec<(usize, M::UnmutateToken)>)
Replace([T; N])
Auto Trait Implementations
impl<M, T, const N: usize> RefUnwindSafe for UnmutateArrayToken<M, T, N> where
T: RefUnwindSafe,
<M as Mutator<T>>::UnmutateToken: RefUnwindSafe,
impl<M, T, const N: usize> Send for UnmutateArrayToken<M, T, N> where
T: Send,
<M as Mutator<T>>::UnmutateToken: Send,
impl<M, T, const N: usize> Sync for UnmutateArrayToken<M, T, N> where
T: Sync,
<M as Mutator<T>>::UnmutateToken: Sync,
impl<M, T, const N: usize> Unpin for UnmutateArrayToken<M, T, N> where
T: Unpin,
<M as Mutator<T>>::UnmutateToken: Unpin,
impl<M, T, const N: usize> UnwindSafe for UnmutateArrayToken<M, T, N> where
T: UnwindSafe,
<M as Mutator<T>>::UnmutateToken: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more