pub trait Keys {
type Keyboard: Debug + Index<usize, Output = Key>;
type Callback: Debug + Index<usize, Output = Key>;
type Sticky: Debug + Index<usize, Output = Key>;
type TapDance: Debug + Index<usize, Output = Key<Ref>>;
type TapHold: Debug + Index<usize, Output = Key<Ref>>;
type LayerModifiers: Debug + Index<usize, Output = ModifierKey>;
type Layered: Debug + Index<usize, Output = LayeredKey<Ref>>;
type Chorded: Debug + Index<usize, Output = Key<Ref>>;
type ChordedAuxiliary: Debug + Index<usize, Output = AuxiliaryKey<Ref>>;
}
Expand description
Convenience trait for the data storage types.
Required Associated Types§
Sourcetype LayerModifiers: Debug + Index<usize, Output = ModifierKey>
type LayerModifiers: Debug + Index<usize, Output = ModifierKey>
Type used by key::layered::System.
Sourcetype Layered: Debug + Index<usize, Output = LayeredKey<Ref>>
type Layered: Debug + Index<usize, Output = LayeredKey<Ref>>
Type used by key::layered::System.
Sourcetype ChordedAuxiliary: Debug + Index<usize, Output = AuxiliaryKey<Ref>>
type ChordedAuxiliary: Debug + Index<usize, Output = AuxiliaryKey<Ref>>
Type used by key::chorded::System.