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§