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

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

Essentially Fn (T) -> Output.

Associated Types

Loading content...

Required methods

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

Map T to Output.

Loading content...

Implementations on Foreign Types

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

type Output = O

Loading content...

Implementors

Loading content...