Trait zebra_test::prelude::prop::strategy::statics::FilterFn

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

Essentially Fn (&T) -> bool.

Required Methods§

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

Test whether t passes the filter.

Implementors§