pub shortcut fields

This commit is contained in:
Robin Appelman 2023-06-17 20:24:46 +02:00
commit 4189e6ae1b
3 changed files with 5 additions and 5 deletions

View file

@ -155,8 +155,8 @@ impl FromStr for ModifierList {
#[derive(Clone, Debug, Hash, PartialEq, Eq, Display, FromStr)]
#[display("{modifiers}-{key}")]
pub struct Shortcut {
modifiers: ModifierList,
key: Key,
pub modifiers: ModifierList,
pub key: Key,
}
#[cfg(test)]