pub struct Config {
pub prompt: String,
pub dirty: bool,
pub show_prompt: bool,
pub current_index: Option<usize>,
pub default_filename: Option<String>,
pub cut_buffer: Vec<String>,
pub marks: HashMap<char, usize>,
pub last_error: Option<String>,
pub print_errors: bool,
}
Fields§
§prompt: String
§dirty: bool
§show_prompt: bool
§current_index: Option<usize>
§default_filename: Option<String>
§cut_buffer: Vec<String>
§marks: HashMap<char, usize>
§last_error: Option<String>
§print_errors: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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