pub struct KeyBindings {
pub prefix_key: String,
pub prefix_timeout_ms: u32,
pub sequences: Vec<KeySequence>,
pub global: Vec<GlobalKeyBinding>,
}Expand description
Keyboard binding configuration for tmux-style prefix keys.
Fields§
§prefix_key: StringPrefix key (e.g., “ctrl+b”)
prefix_timeout_ms: u32Timeout in ms after prefix key before returning to normal mode
sequences: Vec<KeySequence>Two-key sequences (prefix + follow-up)
global: Vec<GlobalKeyBinding>Single-key global bindings (no prefix needed)
Trait Implementations§
Source§impl Clone for KeyBindings
impl Clone for KeyBindings
Source§fn clone(&self) -> KeyBindings
fn clone(&self) -> KeyBindings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyBindings
impl Debug for KeyBindings
Source§impl<'de> Deserialize<'de> for KeyBindings
impl<'de> Deserialize<'de> for KeyBindings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KeyBindings
impl RefUnwindSafe for KeyBindings
impl Send for KeyBindings
impl Sync for KeyBindings
impl Unpin for KeyBindings
impl UnsafeUnpin for KeyBindings
impl UnwindSafe for KeyBindings
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