Trait zebra_test::prelude::prop::strategy::statics::MapFn

pub trait MapFn<T> {
    type Output: Debug;

    // Required method
    fn apply(&self, t: T) -> Self::Output;
}
Expand description

Essentially Fn (T) -> Output.

Required Associated Types§

Required Methods§

fn apply(&self, t: T) -> Self::Output

Map T to Output.

Implementations on Foreign Types§

§

impl<I, O> MapFn<I> for fn(_: I) -> O
where O: Debug,

§

type Output = O

§

fn apply(&self, x: I) -> <fn(_: I) -> O as MapFn<I>>::Output

Implementors§