[][src]Struct alacritty_terminal::config::BellConfig

pub struct BellConfig {
    pub animation: BellAnimation,
    pub color: Rgb,
    pub command: Option<Program>,
    // some fields omitted
}

Fields

animation: BellAnimation

Visual bell animation function.

color: Rgb

Visual bell flash color.

command: Option<Program>

Command to run on bell.

Implementations

impl BellConfig[src]

pub fn duration(&self) -> Duration[src]

Visual bell duration in milliseconds.

Trait Implementations

impl Clone for BellConfig[src]

impl Debug for BellConfig[src]

impl Default for BellConfig[src]

impl<'de> Deserialize<'de> for BellConfig where
    BellConfig: Default
[src]

impl Eq for BellConfig[src]

impl<'_> From<&'_ BellConfig> for VisualBell[src]

impl PartialEq<BellConfig> for BellConfig[src]

impl StructuralEq for BellConfig[src]

impl StructuralPartialEq for BellConfig[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.