Trait gilrs::ev::filter::FilterFn

source ·
pub trait FilterFn {
    // Required method
    fn filter(&self, ev: Option<Event>, gilrs: &mut Gilrs) -> Option<Event>;
}
Expand description

Actual filter implementation.

See module level documentation for more info.

Required Methods§

source

fn filter(&self, ev: Option<Event>, gilrs: &mut Gilrs) -> Option<Event>

Implementors§

source§

impl FilterFn for Jitter

source§

impl FilterFn for Repeat

source§

impl<F> FilterFn for F
where F: Fn(Option<Event>, &mut Gilrs) -> Option<Event>,