[][src]Struct alacritty::cli::Options

pub struct Options {
    pub print_events: bool,
    pub ref_test: bool,
    pub title: Option<String>,
    pub class_instance: Option<String>,
    pub class_general: Option<String>,
    pub embed: Option<String>,
    pub log_level: LevelFilter,
    pub command: Option<Program>,
    pub hold: bool,
    pub working_directory: Option<PathBuf>,
    pub config_path: Option<PathBuf>,
    pub config_options: Value,
}

Options specified on the command line.

Fields

print_events: boolref_test: booltitle: Option<String>class_instance: Option<String>class_general: Option<String>embed: Option<String>log_level: LevelFiltercommand: Option<Program>hold: boolworking_directory: Option<PathBuf>config_path: Option<PathBuf>config_options: Value

Implementations

impl Options[src]

pub fn new() -> Self[src]

Build Options from command line arguments.

pub fn config_path(&self) -> Option<PathBuf>[src]

Configuration file path.

pub fn config_options(&self) -> &Value[src]

CLI config options as deserializable serde value.

pub fn override_config(&self, config: &mut TermConfig<UIConfig>)[src]

Override configuration file with options from the CLI.

Trait Implementations

impl Default for Options[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.