pub struct AppConfig {
pub tries_dirs: Vec<PathBuf>,
pub active_tab: usize,
pub theme: Theme,
pub editor_cmd: Option<String>,
pub config_path: Option<PathBuf>,
pub apply_date_prefix: Option<bool>,
pub transparent_background: Option<bool>,
pub show_disk: Option<bool>,
pub show_preview: Option<bool>,
pub show_legend: Option<bool>,
pub show_right_panel: Option<bool>,
pub right_panel_width: Option<u16>,
}Fields§
§tries_dirs: Vec<PathBuf>§active_tab: usize§theme: Theme§editor_cmd: Option<String>§config_path: Option<PathBuf>§apply_date_prefix: Option<bool>§transparent_background: Option<bool>§show_disk: Option<bool>§show_preview: Option<bool>§show_legend: Option<bool>§show_right_panel: Option<bool>§right_panel_width: Option<u16>Auto Trait Implementations§
impl Freeze for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnsafeUnpin for AppConfig
impl UnwindSafe for AppConfig
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more