Struct VecStrategy

struct VecStrategy<T: Strategy> { ... }

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

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

Implementations

impl<T> Any for VecStrategy<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for VecStrategy<T>

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

impl<T> BorrowMut for VecStrategy<T>

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

impl<T> CloneToUninit for VecStrategy<T>

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

impl<T> Freeze for VecStrategy<T>

impl<T> From for VecStrategy<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> RefUnwindSafe for VecStrategy<T>

impl<T> Send for VecStrategy<T>

impl<T> Sync for VecStrategy<T>

impl<T> ToOwned for VecStrategy<T>

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

impl<T> Unpin for VecStrategy<T>

impl<T> UnwindSafe for VecStrategy<T>

impl<T, U> Into for VecStrategy<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 VecStrategy<T>

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

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

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

impl<T: $crate::clone::Clone + Strategy> Clone for VecStrategy<T>

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

impl<T: $crate::fmt::Debug + Strategy> Debug for VecStrategy<T>

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

impl<T: Strategy> Strategy for VecStrategy<T>

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

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

fn vzip(self: Self) -> V