Enum fuzzcheck::mutators::vector::crossover_replace_element::RevertCrossoverReplaceElement
source · [−]pub enum RevertCrossoverReplaceElement<T, UT> {
Random(UT, usize),
ReplaceElement {
el: T,
idx: usize,
},
}
Variants
Random(UT, usize)
ReplaceElement
Trait Implementations
sourceimpl<T, M> RevertMutation<Vec<T, Global>, VecMutator<T, M>> for RevertCrossoverReplaceElement<T, M::UnmutateToken> where
T: Clone + 'static,
M: Mutator<T>,
impl<T, M> RevertMutation<Vec<T, Global>, VecMutator<T, M>> for RevertCrossoverReplaceElement<T, M::UnmutateToken> 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, UT> RefUnwindSafe for RevertCrossoverReplaceElement<T, UT> where
T: RefUnwindSafe,
UT: RefUnwindSafe,
impl<T, UT> Send for RevertCrossoverReplaceElement<T, UT> where
T: Send,
UT: Send,
impl<T, UT> Sync for RevertCrossoverReplaceElement<T, UT> where
T: Sync,
UT: Sync,
impl<T, UT> Unpin for RevertCrossoverReplaceElement<T, UT> where
T: Unpin,
UT: Unpin,
impl<T, UT> UnwindSafe for RevertCrossoverReplaceElement<T, UT> where
T: UnwindSafe,
UT: 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