pub struct KeybindsConfig {Show 38 fields
pub app_exit: Option<String>,
pub app_help: Option<String>,
pub editor_open: Option<String>,
pub file_close: Option<String>,
pub file_diff_toggle: Option<String>,
pub file_list: Option<String>,
pub file_search: Option<String>,
pub input_clear: Option<String>,
pub input_newline: Option<String>,
pub input_paste: Option<String>,
pub input_submit: Option<String>,
pub leader: Option<String>,
pub messages_copy: Option<String>,
pub messages_first: Option<String>,
pub messages_half_page_down: Option<String>,
pub messages_half_page_up: Option<String>,
pub messages_last: Option<String>,
pub messages_layout_toggle: Option<String>,
pub messages_next: Option<String>,
pub messages_page_down: Option<String>,
pub messages_page_up: Option<String>,
pub messages_previous: Option<String>,
pub messages_redo: Option<String>,
pub messages_revert: Option<String>,
pub messages_undo: Option<String>,
pub model_list: Option<String>,
pub project_init: Option<String>,
pub session_compact: Option<String>,
pub session_export: Option<String>,
pub session_interrupt: Option<String>,
pub session_list: Option<String>,
pub session_new: Option<String>,
pub session_share: Option<String>,
pub session_unshare: Option<String>,
pub switch_mode: Option<String>,
pub switch_mode_reverse: Option<String>,
pub theme_list: Option<String>,
pub tool_details: Option<String>,
}Expand description
Keybinding configuration mirroring the JS SDK’s KeybindsConfig.
Fields§
§app_exit: Option<String>§app_help: Option<String>§editor_open: Option<String>§file_close: Option<String>§file_diff_toggle: Option<String>§file_list: Option<String>§file_search: Option<String>§input_clear: Option<String>§input_newline: Option<String>§input_paste: Option<String>§input_submit: Option<String>§leader: Option<String>§messages_copy: Option<String>§messages_first: Option<String>§messages_half_page_down: Option<String>§messages_half_page_up: Option<String>§messages_last: Option<String>§messages_layout_toggle: Option<String>§messages_next: Option<String>§messages_page_down: Option<String>§messages_page_up: Option<String>§messages_previous: Option<String>§messages_redo: Option<String>§messages_revert: Option<String>§messages_undo: Option<String>§model_list: Option<String>§project_init: Option<String>§session_compact: Option<String>§session_export: Option<String>§session_interrupt: Option<String>§session_list: Option<String>§session_new: Option<String>§switch_mode: Option<String>§switch_mode_reverse: Option<String>§theme_list: Option<String>§tool_details: Option<String>Trait Implementations§
Source§impl Clone for KeybindsConfig
impl Clone for KeybindsConfig
Source§fn clone(&self) -> KeybindsConfig
fn clone(&self) -> KeybindsConfig
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 KeybindsConfig
impl Debug for KeybindsConfig
Source§impl Default for KeybindsConfig
impl Default for KeybindsConfig
Source§fn default() -> KeybindsConfig
fn default() -> KeybindsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeybindsConfig
impl<'de> Deserialize<'de> for KeybindsConfig
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
Source§impl PartialEq for KeybindsConfig
impl PartialEq for KeybindsConfig
Source§impl Serialize for KeybindsConfig
impl Serialize for KeybindsConfig
impl Eq for KeybindsConfig
impl StructuralPartialEq for KeybindsConfig
Auto Trait Implementations§
impl Freeze for KeybindsConfig
impl RefUnwindSafe for KeybindsConfig
impl Send for KeybindsConfig
impl Sync for KeybindsConfig
impl Unpin for KeybindsConfig
impl UnwindSafe for KeybindsConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.