Struct alacritty::config::bell::BellConfig
source · pub struct BellConfig {
pub animation: BellAnimation,
pub command: Option<Program>,
pub color: Rgb,
duration: u16,
}
Fields§
§animation: BellAnimation
Visual bell animation function.
command: Option<Program>
Command to run on bell.
color: Rgb
Visual bell flash color.
duration: u16
Visual bell duration in milliseconds.
Implementations§
Trait Implementations§
source§impl Clone for BellConfig
impl Clone for BellConfig
source§fn clone(&self) -> BellConfig
fn clone(&self) -> BellConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BellConfig
impl Debug for BellConfig
source§impl Default for BellConfig
impl Default for BellConfig
source§impl<'de> Deserialize<'de> for BellConfig
impl<'de> Deserialize<'de> for BellConfig
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&BellConfig> for VisualBell
impl From<&BellConfig> for VisualBell
source§fn from(bell_config: &BellConfig) -> VisualBell
fn from(bell_config: &BellConfig) -> VisualBell
Converts to this type from the input type.
source§impl PartialEq<BellConfig> for BellConfig
impl PartialEq<BellConfig> for BellConfig
source§fn eq(&self, other: &BellConfig) -> bool
fn eq(&self, other: &BellConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'de> SerdeReplace for BellConfig
impl<'de> SerdeReplace for BellConfig
impl Eq for BellConfig
impl StructuralEq for BellConfig
impl StructuralPartialEq for BellConfig
Auto Trait Implementations§
impl RefUnwindSafe for BellConfig
impl Send for BellConfig
impl Sync for BellConfig
impl Unpin for BellConfig
impl UnwindSafe for BellConfig
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.