proptest::strategy::statics

Trait FilterFn

source
pub trait FilterFn<T> {
    // Required method
    fn apply(&self, t: &T) -> bool;
}
Expand description

Essentially Fn (&T) -> bool.

Required Methods§

source

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

Test whether t passes the filter.

Implementors§