[][src]Struct alacritty_terminal::config::Config

pub struct Config<T> {
    pub env: HashMap<String, String>,
    pub colors: Colors,
    pub selection: Selection,
    pub shell: Option<Program>,
    pub config_path: Option<PathBuf>,
    pub scrolling: Scrolling,
    pub cursor: Cursor,
    pub working_directory: Option<PathBuf>,
    pub ui_config: T,
    pub hold: bool,
    pub visual_bell: Option<BellConfig>,
    pub tabspaces: Option<usize>,
    // some fields omitted
}

Top-level config type.

Fields

env: HashMap<String, String>

TERM env variable.

colors: Colorsselection: Selectionshell: Option<Program>

Path to a shell program to run on startup.

config_path: Option<PathBuf>

Path where config was loaded from.

scrolling: Scrolling

How much scrolling history to keep.

cursor: Cursor

Cursor configuration.

working_directory: Option<PathBuf>

Shell startup directory.

ui_config: T

Additional configuration options not directly required by the terminal.

hold: bool

Remain open after child process exits.

visual_bell: Option<BellConfig>tabspaces: Option<usize>

Implementations

impl<T> Config<T>[src]

Trait Implementations

impl<T: Debug> Debug for Config<T>[src]

impl<T: Default> Default for Config<T>[src]

impl<'de, T> Deserialize<'de> for Config<T> where
    T: Deserialize<'de>, 
[src]

impl<T: PartialEq> PartialEq<Config<T>> for Config<T>[src]

impl<T> StructuralPartialEq for Config<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Config<T> where
    T: RefUnwindSafe

impl<T> Send for Config<T> where
    T: Send

impl<T> Sync for Config<T> where
    T: Sync

impl<T> Unpin for Config<T> where
    T: Unpin

impl<T> UnwindSafe for Config<T> where
    T: UnwindSafe

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.