Skip to main content

Module mode_id

Module mode_id 

Source
Expand description

ModeId — canonical interned-string identity for a mode.

Lives in lattice-keymap so that KeymapLayer::MajorMode(ModeId) and KeymapLayer::MinorMode(ModeId) can be defined here without creating a circular dependency back up to lattice-mode.

Structs§

ModeId
Canonical identity of a mode. Interned-string for Copy + Eq + Hash at zero allocation cost on the hot path.