pub struct Config {
pub tab_size: NonZeroU8,
pub indent_with_tabs: bool,
pub visual_empty: char,
pub visual_space: char,
pub visual_tab_first: char,
pub visual_tab_repeat: char,
pub completion_min_len: u8,
pub picker_max_height: u8,
pub status_bar_max_height: NonZeroU8,
}
Fields
tab_size: NonZeroU8
indent_with_tabs: bool
visual_empty: char
visual_space: char
visual_tab_first: char
visual_tab_repeat: char
completion_min_len: u8
picker_max_height: u8
status_bar_max_height: NonZeroU8
Implementations
sourceimpl Config
impl Config
pub fn parse_config(
&mut self,
key: &str,
value: &str
) -> Result<(), ParseConfigError>
pub fn display_config(&self, key: &str) -> Option<DisplayConfig<'_>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more