pub struct Config {
pub procs: Vec<ProcConfig>,
pub server: Option<ServerConfig>,
pub exec: Option<AppEvent>,
pub hide_keymap_window: bool,
pub mouse_scroll_speed: usize,
pub scrollback_len: usize,
pub proc_list_width: usize,
pub proc_list_title: String,
pub on_init: Option<AppEvent>,
pub on_all_finished: Option<AppEvent>,
pub proc_log: Option<LogConfig>,
}Fields§
§procs: Vec<ProcConfig>§server: Option<ServerConfig>§exec: Option<AppEvent>§hide_keymap_window: bool§mouse_scroll_speed: usize§scrollback_len: usize§proc_list_width: usize§proc_list_title: String§on_init: Option<AppEvent>§on_all_finished: Option<AppEvent>§proc_log: Option<LogConfig>Implementations§
Source§impl Config
impl Config
pub fn from_value( value: &Value, ctx: &ConfigContext, settings: &Settings, ) -> Result<Config>
pub fn make_default(settings: &Settings) -> Result<Self>
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin 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
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