Add Group trait

This commit is contained in:
Joscha 2023-04-26 15:24:12 +02:00
parent 072290511b
commit 17acdd0575

View file

@ -3,3 +3,9 @@ mod keys;
pub use input::*;
pub use keys::*;
pub trait Group {
type Action;
fn action(&self, input: &mut Input) -> Option<Self::Action>;
}