[][src]Struct alacritty::config::ui_config::UIConfig

pub struct UIConfig {
    pub font: Font,
    pub window: WindowConfig,
    pub mouse: Mouse,
    pub debug: Debug,
    pub alt_send_esc: bool,
    pub live_config_reload: bool,
    pub config_paths: Vec<PathBuf>,
    key_bindings: KeyBindings,
    mouse_bindings: MouseBindings,
    background_opacity: Percentage,
}

Fields

font: Font

Font configuration.

window: WindowConfig

Window configuration.

mouse: Mousedebug: Debug

Debug options.

alt_send_esc: bool

Send escape sequences using the alt key.

live_config_reload: bool

Live config reload.

config_paths: Vec<PathBuf>

Path where config was loaded from.

key_bindings: KeyBindings

Keybindings.

mouse_bindings: MouseBindings

Bindings for the mouse.

background_opacity: Percentage

Background opacity from 0.0 to 1.0.

Implementations

impl UIConfig[src]

pub fn background_opacity(&self) -> f32[src]

pub fn key_bindings(&self) -> &[Binding<Key>][src]

pub fn mouse_bindings(&self) -> &[Binding<MouseButton>][src]

Trait Implementations

impl Debug for UIConfig[src]

impl Default for UIConfig[src]

impl<'de> Deserialize<'de> for UIConfig[src]

impl PartialEq<UIConfig> for UIConfig[src]

impl StructuralPartialEq for UIConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for UIConfig

impl Send for UIConfig

impl Sync for UIConfig

impl Unpin for UIConfig

impl UnwindSafe for UIConfig

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.