pub struct CoverageGuided { /* private fields */ }Expand description
Prefers expressions that have not yet been exercised; tracks (nonterminal, index) coverage.
Suited for generating data that fully explores all options of the grammar.
Implementations§
Trait Implementations§
Source§impl Debug for CoverageGuided
impl Debug for CoverageGuided
Source§impl Default for CoverageGuided
impl Default for CoverageGuided
Source§impl GenerationStrategy for CoverageGuided
impl GenerationStrategy for CoverageGuided
Source§fn choose<'p>(
&mut self,
production: &'p Production,
_depth: usize,
) -> Option<&'p Expression>
fn choose<'p>( &mut self, production: &'p Production, _depth: usize, ) -> Option<&'p Expression>
Choose one of the production’s RHS alternatives. Read more
Auto Trait Implementations§
impl Freeze for CoverageGuided
impl RefUnwindSafe for CoverageGuided
impl !Send for CoverageGuided
impl !Sync for CoverageGuided
impl Unpin for CoverageGuided
impl UnwindSafe for CoverageGuided
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more