zebra_test::prelude::prop::strategy::statics

Trait 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§