select_random

Function select_random 

Source
pub fn select_random<T, M, R>(
    _: &T,
    rs: &mut dyn Iterator<Item = (&R, Update<T, M>)>,
) -> Option<Update<T, M>>
where T: Uniplate, R: Rule<T, M>,
Expand description

Selects a random Update from the iterator.

See the module-level documentation for more information.