[−][src]Struct alacritty::term::VisualBell
Methods
impl VisualBell[src]
pub fn new(config: &Config) -> VisualBell[src]
pub fn ring(&mut self) -> f64[src]
Ring the visual bell, and return its intensity.
pub fn intensity(&self) -> f64[src]
Get the currently intensity of the visual bell. The bell's intensity ramps down from 1.0 to 0.0 at a rate determined by the bell's duration.
pub fn completed(&mut self) -> bool[src]
Check whether or not the visual bell has completed "ringing".
pub fn intensity_at_instant(&self, instant: Instant) -> f64[src]
Get the intensity of the visual bell at a particular instant. The bell's intensity ramps down from 1.0 to 0.0 at a rate determined by the bell's duration.
pub fn update_config(&mut self, config: &Config)[src]
Auto Trait Implementations
impl Send for VisualBell
impl Sync for VisualBell
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> SetParameter for T[src]
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>, [src]
T: Parameter<Self>,
Sets value as a parameter of self.