Struct prop_check_rs::rng::RNG [−][src]
pub struct RNG { /* fields omitted */ }Implementations
pub fn sequence<A: Clone + 'static, F: 'static>(
fs: Vec<F>
) -> Box<dyn FnMut(RNG) -> (Vec<A>, RNG)> where
F: FnMut(RNG) -> (A, RNG),
pub fn map<A, B, F1: 'static, F2: 'static>(
s: F1,
f: F2
) -> Box<dyn FnMut(RNG) -> (B, RNG)> where
F1: FnMut(RNG) -> (A, RNG),
F2: FnMut(A) -> B,
pub fn map2<F1: 'static, F2: 'static, F3: 'static, A, B, C>(
ra: F1,
rb: F2,
f: F3
) -> Box<dyn FnMut(RNG) -> (C, RNG)> where
F1: FnMut(RNG) -> (A, RNG),
F2: FnMut(RNG) -> (B, RNG),
F3: FnMut(A, B) -> C,
pub fn both<F1: 'static, F2: 'static, A, B>(
ra: F1,
rb: F2
) -> Box<dyn FnMut(RNG) -> ((A, B), RNG)> where
F1: FnMut(RNG) -> (A, RNG),
F2: FnMut(RNG) -> (B, RNG),
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RNG
impl UnwindSafe for RNG
Blanket Implementations
Mutably borrows from an owned value. Read more