Skip to main content

Module keymap_trie

Module keymap_trie 

Source
Expand description

Re-export shim — KeymapTrie, KeymapLayer, BoundCommand, and LookupResult moved to lattice-keymap in K.3 (2026-06-07). Existing use crate::keymap_trie::{...} callers in this crate continue to work unchanged.

Structs§

BoundCommand
What the trie returns at a terminal node.
KeymapTrie
One layer’s worth of bindings, indexed for O(prefix_length) lookup.

Enums§

ChordPattern
One element of a keymap registration path.
KeymapLayer
Where in the five-layer model (DESIGN.md §5.2.3) a binding originated. Higher value wins on cross-layer conflict; the trie itself doesn’t enforce this, the registry does at merge time.
LookupResult
Lookup outcome.