pub struct SelectorFuzzer { /* private fields */ }
Implementations§
Source§impl SelectorFuzzer
impl SelectorFuzzer
pub fn new() -> Self
Sourcepub fn random_selector_for_node<R: Rng>(
&mut self,
handle: NodeHandle,
root: NodeHandle,
parser: &Parser<'_>,
retries: usize,
rng: &mut R,
) -> Option<Selector>
pub fn random_selector_for_node<R: Rng>( &mut self, handle: NodeHandle, root: NodeHandle, parser: &Parser<'_>, retries: usize, rng: &mut R, ) -> Option<Selector>
Recursively generate a random selector for node handle
. root
is the root-node
of the subtree.
Auto Trait Implementations§
impl Freeze for SelectorFuzzer
impl RefUnwindSafe for SelectorFuzzer
impl Send for SelectorFuzzer
impl Sync for SelectorFuzzer
impl Unpin for SelectorFuzzer
impl UnwindSafe for SelectorFuzzer
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