Type Alias zebra_test::prelude::prop::arbitrary::Mapped

pub type Mapped<I, O> = Map<<I as Arbitrary>::Strategy, fn(_: I) -> O>;
Expand description

A normal map from a strategy of I to O.

§Stability

This is provided to make documentation more readable. Do not rely on it existing in your own code.

Aliased Type§

struct Mapped<I, O> {
    pub(super) source: <I as Arbitrary>::Strategy,
    pub(super) fun: Arc<fn(_: I) -> O>,
}

Fields§

§source: <I as Arbitrary>::Strategy§fun: Arc<fn(_: I) -> O>