pub struct EditorConfig {
pub show_splash: bool,
pub tabstop: usize,
pub expand_tab: bool,
pub match_indent: bool,
pub lsp_autostart: bool,
pub status_timeout: u64,
pub double_click_ms: u64,
pub minibuffer_lines: usize,
pub find_command: String,
}Expand description
Top level configuration for the editor
Fields§
§show_splash: bool§tabstop: usize§expand_tab: bool§match_indent: bool§lsp_autostart: bool§status_timeout: u64§double_click_ms: u64§minibuffer_lines: usize§find_command: StringTrait Implementations§
Source§impl Clone for EditorConfig
impl Clone for EditorConfig
Source§fn clone(&self) -> EditorConfig
fn clone(&self) -> EditorConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EditorConfig
impl Debug for EditorConfig
Source§impl Default for EditorConfig
impl Default for EditorConfig
Source§impl PartialEq for EditorConfig
impl PartialEq for EditorConfig
impl Eq for EditorConfig
impl StructuralPartialEq for EditorConfig
Auto Trait Implementations§
impl Freeze for EditorConfig
impl RefUnwindSafe for EditorConfig
impl Send for EditorConfig
impl Sync for EditorConfig
impl Unpin for EditorConfig
impl UnwindSafe for EditorConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.