Rename Group to KeyGroup

This commit is contained in:
Joscha 2023-04-27 20:55:26 +02:00
parent 6c99f7a53a
commit fdc46aa3b8
4 changed files with 15 additions and 14 deletions

View file

@ -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>;