Struct IndFlattenMap

pub struct IndFlattenMap<S, F> { /* private fields */ }

Similar to Map plus Flatten, but does not shrink the input strategy and passes the original input through.

See Strategy::prop_ind_flat_map2() for more details.

Trait Implementations

impl<S: Clone, F> Clone for IndFlattenMap<S, F>

fn clone(&self) -> Self

impl<S: Debug, F> Debug for IndFlattenMap<S, F>

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

impl<S: Strategy, R: Strategy, F: Fn(S::Value) -> R> Strategy for IndFlattenMap<S, F>

type Tree = TupleValueTree<(<S as Strategy>::Tree, <R as Strategy>::Tree)>;
type Value = (<S as Strategy>::Value, <R as Strategy>::Value);
fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>

Auto Trait Implementations

impl<S, F> Freeze for IndFlattenMap<S, F> where S: Freeze, Arc<F>: Freeze,

impl<S, F> RefUnwindSafe for IndFlattenMap<S, F> where S: RefUnwindSafe, Arc<F>: RefUnwindSafe,

impl<S, F> Send for IndFlattenMap<S, F> where S: Send, Arc<F>: Send,

impl<S, F> Sync for IndFlattenMap<S, F> where S: Sync, Arc<F>: Sync,

impl<S, F> Unpin for IndFlattenMap<S, F> where S: Unpin, Arc<F>: Unpin,

impl<S, F> UnsafeUnpin for IndFlattenMap<S, F> where S: UnsafeUnpin, Arc<F>: UnsafeUnpin,

impl<S, F> UnwindSafe for IndFlattenMap<S, F> where S: UnwindSafe, Arc<F>: UnwindSafe,

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for IndFlattenMap<S, F> where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for IndFlattenMap<S, F> where ST: ?Sized, DT: ?Sized,

impl<T> Any for IndFlattenMap<S, F> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for IndFlattenMap<S, F> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for IndFlattenMap<S, F> where T: ?Sized,

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

impl<T> CloneToUninit for IndFlattenMap<S, F> where T: Clone,

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

impl<T> From<T> for IndFlattenMap<S, F>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Read<Exclusive, BecauseExclusive> for IndFlattenMap<S, F> where T: ?Sized,

impl<T> ToOwned for IndFlattenMap<S, F> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for IndFlattenMap<S, F> where U: From<T>,

fn into(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<U> for IndFlattenMap<S, F> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for IndFlattenMap<S, F> 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 IndFlattenMap<S, F> where V: MultiLane<T>,

fn vzip(self) -> V