[−][src]Struct alacritty::input::Binding
Describes a state and action to take in that state
This is the shared component of MouseBinding and KeyBinding
Fields
mods: ModifiersStateModifier keys required to activate binding
action: ActionString to send to pty if mods and mode match
mode: TermModeTerminal mode required to activate binding
notmode: TermModeexcluded terminal modes where the binding won't be activated
trigger: TThis property is used as part of the trigger detection code.
For example, this might be a key like "G", or a mouse button.
Methods
impl<T: Eq> Binding<T>[src]
pub fn triggers_match(&self, binding: &Binding<T>) -> bool[src]
Trait Implementations
impl<T: Clone> Clone for Binding<T>[src]
fn clone(&self) -> Binding<T>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<T: Eq> Eq for Binding<T>[src]
impl<T: PartialEq> PartialEq<Binding<T>> for Binding<T>[src]
impl<T: Debug> Debug for Binding<T>[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
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.
impl<T> Erased for T[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,