Skip to main content

KeybindsConfig

Struct KeybindsConfig 

Source
pub struct KeybindsConfig {
Show 38 fields pub app_exit: String, pub app_help: String, pub editor_open: String, pub file_close: String, pub file_diff_toggle: String, pub file_list: String, pub file_search: String, pub input_clear: String, pub input_newline: String, pub input_paste: String, pub input_submit: String, pub leader: String, pub messages_copy: String, pub messages_first: String, pub messages_half_page_down: String, pub messages_half_page_up: String, pub messages_last: String, pub messages_layout_toggle: String, pub messages_next: String, pub messages_page_down: String, pub messages_page_up: String, pub messages_previous: String, pub messages_redo: String, pub messages_revert: String, pub messages_undo: String, pub model_list: String, pub project_init: String, pub session_compact: String, pub session_export: String, pub session_interrupt: String, pub session_list: String, pub session_new: String, pub session_share: String, pub session_unshare: String, pub switch_mode: String, pub switch_mode_reverse: String, pub theme_list: String, pub tool_details: String,
}
Expand description

Keybinding configuration mirroring the JS SDK’s KeybindsConfig.

Fields§

§app_exit: String§app_help: String§editor_open: String§file_close: String§file_diff_toggle: String§file_list: String§file_search: String§input_clear: String§input_newline: String§input_paste: String§input_submit: String§leader: String§messages_copy: String§messages_first: String§messages_half_page_down: String§messages_half_page_up: String§messages_last: String§messages_layout_toggle: String§messages_next: String§messages_page_down: String§messages_page_up: String§messages_previous: String§messages_redo: String§messages_revert: String§messages_undo: String§model_list: String§project_init: String§session_compact: String§session_export: String§session_interrupt: String§session_list: String§session_new: String§session_share: String§session_unshare: String§switch_mode: String§switch_mode_reverse: String§theme_list: String§tool_details: String

Trait Implementations§

Source§

impl Clone for KeybindsConfig

Source§

fn clone(&self) -> KeybindsConfig

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for KeybindsConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for KeybindsConfig

Source§

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

Source§

fn eq(&self, other: &KeybindsConfig) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for KeybindsConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for KeybindsConfig

Source§

impl StructuralPartialEq for KeybindsConfig

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

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
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compares self with key and returns true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,