Rename Group::Action to Event
This commit is contained in:
parent
15177a529a
commit
6c99f7a53a
3 changed files with 36 additions and 36 deletions
|
|
@ -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>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue