pub trait ChordedKey<K: Key> {
// Required methods
fn passthrough_key(&self) -> &K;
fn chorded_key(&self) -> Option<&K>;
}
Expand description
Trait for PressedKeyState.
Required Methods§
Sourcefn passthrough_key(&self) -> &K
fn passthrough_key(&self) -> &K
The chorded key’s “passthrough” key.
Sourcefn chorded_key(&self) -> Option<&K>
fn chorded_key(&self) -> Option<&K>
The chorded key’s “chorded” key.