input: Make functions return the whole bind

This commit is contained in:
Ivan Molodetskikh
2024-03-22 20:27:58 +04:00
parent 4b2fdd0776
commit 6c08ba307a
3 changed files with 96 additions and 63 deletions
+1 -1
View File
@@ -716,7 +716,7 @@ impl PartialEq for Match {
#[derive(Debug, Default, PartialEq)]
pub struct Binds(pub Vec<Bind>);
#[derive(Debug, PartialEq)]
#[derive(Debug, Clone, PartialEq)]
pub struct Bind {
pub key: Key,
pub action: Action,