Enum fuzzcheck::mutators::vector::vec_mutation::RevertVectorMutation
source · [−]pub enum RevertVectorMutation<T, M> where
T: Clone + 'static,
M: Mutator<T>, {
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
sourceimpl<T, M> RevertMutation<Vec<T, Global>, VecMutator<T, M>> for RevertVectorMutation<T, M> where
T: Clone + 'static,
M: Mutator<T>,
impl<T, M> RevertMutation<Vec<T, Global>, VecMutator<T, M>> for RevertVectorMutation<T, M> where
T: Clone + 'static,
M: Mutator<T>,
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> RefUnwindSafe for RevertVectorMutation<T, M> where
T: RefUnwindSafe,
<M as Mutator<T>>::UnmutateToken: RefUnwindSafe,
impl<T, M> Send for RevertVectorMutation<T, M> where
T: Send,
<M as Mutator<T>>::UnmutateToken: Send,
impl<T, M> Sync for RevertVectorMutation<T, M> where
T: Sync,
<M as Mutator<T>>::UnmutateToken: Sync,
impl<T, M> Unpin for RevertVectorMutation<T, M> where
T: Unpin,
<M as Mutator<T>>::UnmutateToken: Unpin,
impl<T, M> UnwindSafe for RevertVectorMutation<T, M> 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