Trait gilrs::ev::filter::Filter

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

Allow filtering events.

See module level documentation for more info.

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Filter for Option<Event>

source§

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

Implementors§