#[non_exhaustive]pub struct RandomWalk { /* private fields */ }Expand description
Uniform random choice over all expressions (current default behavior).
Implementations§
Trait Implementations§
Source§impl Debug for RandomWalk
impl Debug for RandomWalk
Source§impl Default for RandomWalk
impl Default for RandomWalk
Source§impl GenerationStrategy for RandomWalk
impl GenerationStrategy for RandomWalk
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 RandomWalk
impl RefUnwindSafe for RandomWalk
impl Send for RandomWalk
impl Sync for RandomWalk
impl Unpin for RandomWalk
impl UnwindSafe for RandomWalk
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