Struct HashSetStrategy

struct HashSetStrategy<T>(_)
where
    T: Strategy,
    <T as >::Value: Hash + Eq

Strategy to create HashSets with a length in a certain range.

Created by the hash_set() function in the same module.

Implementations

impl<T> Any for HashSetStrategy<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for HashSetStrategy<T>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for HashSetStrategy<T>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> Clone for HashSetStrategy<T>

fn clone(self: &Self) -> HashSetStrategy<T>

impl<T> CloneToUninit for HashSetStrategy<T>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> Debug for HashSetStrategy<T>

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

impl<T> Freeze for HashSetStrategy<T>

impl<T> From for HashSetStrategy<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> RefUnwindSafe for HashSetStrategy<T>

impl<T> Send for HashSetStrategy<T>

impl<T> Strategy for HashSetStrategy<T>

fn new_tree(self: &Self, runner: &mut TestRunner) -> NewTree<Self>

impl<T> Sync for HashSetStrategy<T>

impl<T> ToOwned for HashSetStrategy<T>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> Unpin for HashSetStrategy<T>

impl<T> UnwindSafe for HashSetStrategy<T>

impl<T, U> Into for HashSetStrategy<T>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for HashSetStrategy<T>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for HashSetStrategy<T>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<V, T> VZip for HashSetStrategy<T>

fn vzip(self: Self) -> V