Rename Group to KeyGroup
This commit is contained in:
parent
6c99f7a53a
commit
fdc46aa3b8
4 changed files with 15 additions and 14 deletions
|
|
@ -1,12 +1,13 @@
|
|||
mod input;
|
||||
mod keys;
|
||||
|
||||
pub use cove_macro::Group;
|
||||
pub use cove_macro::KeyGroup;
|
||||
|
||||
pub use input::*;
|
||||
pub use keys::*;
|
||||
|
||||
pub trait Group {
|
||||
/// A group of related key bindings.
|
||||
pub trait KeyGroup {
|
||||
type Event;
|
||||
|
||||
fn event(&self, input: &mut Input) -> Option<Self::Event>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue