Struct invalid_mutations::bounds::OutOfBoundsMutation
source · [−]pub struct OutOfBoundsMutation { /* private fields */ }Expand description
Represents a single mutation to a CompiledModule to produce an out-of-bounds situation.
Use OutOfBoundsMutation::strategy() to generate them, preferably using Vec to generate
many at a time. Then use ApplyOutOfBoundsContext to apply those mutations.
Implementations
Trait Implementations
sourceimpl AsRef<Index> for OutOfBoundsMutation
impl AsRef<Index> for OutOfBoundsMutation
This is used for source indexing, to work with pick_slice_idxs.
Auto Trait Implementations
impl RefUnwindSafe for OutOfBoundsMutation
impl Send for OutOfBoundsMutation
impl Sync for OutOfBoundsMutation
impl Unpin for OutOfBoundsMutation
impl UnwindSafe for OutOfBoundsMutation
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