Trait proptest::strategy::statics::MapFn[][src]

pub trait MapFn<T> {
    type Output: Debug;
    fn apply(&self, t: T) -> Self::Output;
}

Essentially Fn (T) -> Output.

Associated Types

type Output: Debug[src]

Loading content...

Required methods

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

Map T to Output.

Loading content...

Implementors

impl<I, O: Debug> MapFn<I> for fn(_: I) -> O[src]

type Output = O

Loading content...