Trait proptest::strategy::Shuffleable [−][src]
A value which can be used with the prop_shuffle
combinator.
This is not a general-purpose trait. Its methods are prefixed with
shuffle_
to avoid the compiler suggesting them or this trait as
corrections in errors.
Required methods
fn shuffle_len(&self) -> usize
[src]
Return the length of this collection.
fn shuffle_swap(&mut self, a: usize, b: usize)
[src]
Swap the elements at the given indices.