Rename Group::Action to Event

This commit is contained in:
Joscha 2023-04-27 20:38:09 +02:00
parent 15177a529a
commit 6c99f7a53a
3 changed files with 36 additions and 36 deletions

View file

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