pub enum RevertVectorMutation<T, M>{
NoMutation(<NoMutation as Mutation<Vec<T>, VecMutator<T, M>>>::Revert),
CopyElement(<CopyElement as Mutation<Vec<T>, VecMutator<T, M>>>::Revert),
Remove(<Remove as Mutation<Vec<T>, VecMutator<T, M>>>::Revert),
MutateElement(<MutateElement as Mutation<Vec<T>, VecMutator<T, M>>>::Revert),
InsertElement(<InsertElement as Mutation<Vec<T>, VecMutator<T, M>>>::Revert),
SwapElements(<SwapElements as Mutation<Vec<T>, VecMutator<T, M>>>::Revert),
InsertManyElements(<InsertManyElements as Mutation<Vec<T>, VecMutator<T, M>>>::Revert),
RemoveAndInsertElement(<RemoveAndInsertElement as Mutation<Vec<T>, VecMutator<T, M>>>::Revert),
OnlyChooseLength(<OnlyChooseLength as Mutation<Vec<T>, VecMutator<T, M>>>::Revert),
Arbitrary(<Arbitrary as Mutation<Vec<T>, VecMutator<T, M>>>::Revert),
CrossoverReplaceElement(<CrossoverReplaceElement as Mutation<Vec<T>, VecMutator<T, M>>>::Revert),
CrossoverInsertSlice(<CrossoverInsertSlice as Mutation<Vec<T>, VecMutator<T, M>>>::Revert),
}Variants§
NoMutation(<NoMutation as Mutation<Vec<T>, VecMutator<T, M>>>::Revert)
CopyElement(<CopyElement as Mutation<Vec<T>, VecMutator<T, M>>>::Revert)
Remove(<Remove as Mutation<Vec<T>, VecMutator<T, M>>>::Revert)
MutateElement(<MutateElement as Mutation<Vec<T>, VecMutator<T, M>>>::Revert)
InsertElement(<InsertElement as Mutation<Vec<T>, VecMutator<T, M>>>::Revert)
SwapElements(<SwapElements as Mutation<Vec<T>, VecMutator<T, M>>>::Revert)
InsertManyElements(<InsertManyElements as Mutation<Vec<T>, VecMutator<T, M>>>::Revert)
RemoveAndInsertElement(<RemoveAndInsertElement as Mutation<Vec<T>, VecMutator<T, M>>>::Revert)
OnlyChooseLength(<OnlyChooseLength as Mutation<Vec<T>, VecMutator<T, M>>>::Revert)
Arbitrary(<Arbitrary as Mutation<Vec<T>, VecMutator<T, M>>>::Revert)
CrossoverReplaceElement(<CrossoverReplaceElement as Mutation<Vec<T>, VecMutator<T, M>>>::Revert)
CrossoverInsertSlice(<CrossoverInsertSlice as Mutation<Vec<T>, VecMutator<T, M>>>::Revert)
Trait Implementations§
Source§impl<T, M> RevertMutation<Vec<T>, VecMutator<T, M>> for RevertVectorMutation<T, M>
impl<T, M> RevertMutation<Vec<T>, VecMutator<T, M>> for RevertVectorMutation<T, M>
fn revert( self, mutator: &VecMutator<T, M>, value: &mut Vec<T>, cache: &mut <VecMutator<T, M> as Mutator<Vec<T>>>::Cache, )
Auto Trait Implementations§
impl<T, M> Freeze for RevertVectorMutation<T, M>
impl<T, M> RefUnwindSafe for RevertVectorMutation<T, M>
impl<T, M> Send for RevertVectorMutation<T, M>
impl<T, M> Sync for RevertVectorMutation<T, M>
impl<T, M> Unpin for RevertVectorMutation<T, M>
impl<T, M> UnwindSafe for RevertVectorMutation<T, M>
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