pub trait InputClassifier {
    // Required method
    fn classify_input(&self, ev: Event, ps: &PagerState) -> Option<InputEvent>;
}
Expand description

Classifies the input and returns the appropriate InputEvent

If you are using the newer method for input definition, you don’t need to take care of this.

If you are using the legacy method, see the sources of DefaultInputClassifier on how to inplement this trait.

Required Methods§

Implementors§