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