Struct MapInto
#[must_use = "strategies do nothing unless used"]
pub struct MapInto<S, O> { /* private fields */ }
Strategy and ValueTree map into adaptor.
See Strategy::prop_map_into().
Trait Implementations
impl<S: Clone, O> Clone for MapInto<S, O>
fn clone(&self) -> Self
impl<S: Debug, O> Debug for MapInto<S, O>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<S: Strategy, O: Debug> Strategy for MapInto<S, O>
where
S::Value: Into<O>,
type Tree = MapInto<<S as Strategy>::Tree, O>;type Value = O;fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>
impl<S: ValueTree, O: Debug> ValueTree for MapInto<S, O>
where
S::Value: Into<O>,
type Value = O;fn current(&self) -> Ofn simplify(&mut self) -> boolfn complicate(&mut self) -> bool