Struct Shuffle

#[must_use = "strategies do nothing unless used"]
pub struct Shuffle<S>(/* private field */);

Strategy shuffle adaptor.

See Strategy::prop_shuffle().

Trait Implementations

impl<S: Clone> Clone for Shuffle<S>

fn clone(&self) -> Self

impl<S: Debug> Debug for Shuffle<S>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<S: Strategy> Strategy for Shuffle<S> where S::Value: Shuffleable,

type Tree = ShuffleValueTree<<S as Strategy>::Tree>;
type Value = <S as Strategy>::Value;
fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>

Auto Trait Implementations

impl<S> Freeze for Shuffle<S> where S: Freeze,

impl<S> RefUnwindSafe for Shuffle<S> where S: RefUnwindSafe,

impl<S> Send for Shuffle<S> where S: Send,

impl<S> Sync for Shuffle<S> where S: Sync,

impl<S> Unpin for Shuffle<S> where S: Unpin,

impl<S> UnsafeUnpin for Shuffle<S> where S: UnsafeUnpin,

impl<S> UnwindSafe for Shuffle<S> where S: UnwindSafe,

Blanket Implementations

impl<T> Any for Shuffle<S> where T: 'static + ?Sized,

impl<T> Borrow<T> for Shuffle<S> where T: ?Sized,

impl<T> BorrowMut<T> for Shuffle<S> where T: ?Sized,

impl<T> CloneToUninit for Shuffle<S> where T: Clone,

impl<T> From<T> for Shuffle<S>

impl<T> ToOwned for Shuffle<S> where T: Clone,

impl<T, U> Into<U> for Shuffle<S> where U: From<T>,

impl<T, U> TryFrom<U> for Shuffle<S> where U: Into<T>,

impl<T, U> TryInto<U> for Shuffle<S> where U: TryFrom<T>,