Struct IndexStrategy

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

Strategy to create Indexes.

Created via any::<Index>().

Trait Implementations

impl Clone for IndexStrategy

fn clone(&self) -> Self

impl Debug for IndexStrategy

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

impl Strategy for IndexStrategy

type Tree = IndexValueTree;
type Value = Index;
fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>

Auto Trait Implementations

impl Freeze for IndexStrategy

impl RefUnwindSafe for IndexStrategy

impl Send for IndexStrategy

impl Sync for IndexStrategy

impl Unpin for IndexStrategy

impl UnsafeUnpin for IndexStrategy

impl UnwindSafe for IndexStrategy

Blanket Implementations

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

impl<T> Borrow<T> for IndexStrategy where T: ?Sized,

impl<T> BorrowMut<T> for IndexStrategy where T: ?Sized,

impl<T> CloneToUninit for IndexStrategy where T: Clone,

impl<T> From<T> for IndexStrategy

impl<T> ToOwned for IndexStrategy where T: Clone,

impl<T, U> Into<U> for IndexStrategy where U: From<T>,

impl<T, U> TryFrom<U> for IndexStrategy where U: Into<T>,

impl<T, U> TryInto<U> for IndexStrategy where U: TryFrom<T>,