pub struct Binding {
pub keys: &'static str,
pub desc: &'static str,
pub section: &'static str,
pub live: bool,
pub id: &'static str,
pub handler: Handler,
}Expand description
One binding as it appears in Space ? / which-key AND in dispatch
(0008 stage 2: one table). id is the stable command identity —
macros, dot-repeat, a future palette, and config rebinds ride it.
Fields§
§keys: &'static str§desc: &'static str§section: &'static strSidebar section: normal · visual · insert · leader · git · ex+panes
live: boolfalse = planned slot: no dispatch yet, renders muted “(soon)”.
id: &'static strStable identity per row; per-sequence ids derive as {id}:{key}.
handler: HandlerAuto Trait Implementations§
impl Freeze for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnsafeUnpin for Binding
impl UnwindSafe for Binding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more