Struct fuzzcheck::mutators::vector::insert_element::RevertInsertElement
source · [−]pub struct RevertInsertElement {
pub idx: usize,
}
Fields
idx: usize
Trait Implementations
sourceimpl<T, M> RevertMutation<Vec<T, Global>, VecMutator<T, M>> for RevertInsertElement where
T: Clone + 'static,
M: Mutator<T>,
impl<T, M> RevertMutation<Vec<T, Global>, VecMutator<T, M>> for RevertInsertElement 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 RefUnwindSafe for RevertInsertElement
impl Send for RevertInsertElement
impl Sync for RevertInsertElement
impl Unpin for RevertInsertElement
impl UnwindSafe for RevertInsertElement
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