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) -> IndexStrategy
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for IndexStrategy
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for IndexStrategy
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for IndexStrategy
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for IndexStrategy
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for IndexStrategy
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for IndexStrategy
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for IndexStrategy
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Read<Exclusive, BecauseExclusive> for IndexStrategy
where
T: ?Sized,
impl<T> ToOwned for IndexStrategy
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for IndexStrategy
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for IndexStrategy
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for IndexStrategy
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip<V> for IndexStrategy
where
V: MultiLane<T>,
fn vzip(self) -> V