Trait MapFn
proptest::strategy::statics
pub trait MapFn<T> { type Output: Debug; fn apply(&self, t: T) -> Self::Output; }
Essentially Fn (T) -> Output.
Fn (T) -> Output
type Output: Debug
fn apply(&self, t: T) -> Self::Output
Map T to Output.
T
Output
impl<I, O: Debug> MapFn<I> for fn(_: I) -> O
type Output = O
fn apply(&self, x: I) -> Self::Output