Struct Select

struct Select<T>(_)
where
    T: Clone + fmt::Debug + 'static

Strategy to produce one value from a fixed collection of options.

Created by the select() in the same module.

Implementations

impl<T> Any for Select<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Select<T>

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

impl<T> BorrowMut for Select<T>

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

impl<T> Clone for Select<T>

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

impl<T> CloneToUninit for Select<T>

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

impl<T> Debug for Select<T>

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

impl<T> Freeze for Select<T>

impl<T> From for Select<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> RefUnwindSafe for Select<T>

impl<T> Send for Select<T>

impl<T> Strategy for Select<T>

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

impl<T> Sync for Select<T>

impl<T> ToOwned for Select<T>

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

impl<T> Unpin for Select<T>

impl<T> UnwindSafe for Select<T>

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

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

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

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

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

fn vzip(self: Self) -> V