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§
source§impl AsRef<Index> for OutOfBoundsMutation
impl AsRef<Index> for OutOfBoundsMutation
This is used for source indexing, to work with pick_slice_idxs.