Struct alacritty::config::ui_config::HintBinding
source · pub struct HintBinding {
pub key: Key,
pub mods: ModsWrapper,
pub mode: ModeWrapper,
}
Expand description
Binding for triggering a keyboard hint.
Fields§
§key: Key
§mods: ModsWrapper
§mode: ModeWrapper
Trait Implementations§
source§impl Clone for HintBinding
impl Clone for HintBinding
source§fn clone(&self) -> HintBinding
fn clone(&self) -> HintBinding
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 HintBinding
impl Debug for HintBinding
source§impl<'de> Deserialize<'de> for HintBinding
impl<'de> Deserialize<'de> for HintBinding
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 PartialEq<HintBinding> for HintBinding
impl PartialEq<HintBinding> for HintBinding
source§fn eq(&self, other: &HintBinding) -> bool
fn eq(&self, other: &HintBinding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HintBinding
impl Eq for HintBinding
impl StructuralEq for HintBinding
impl StructuralPartialEq for HintBinding
Auto Trait Implementations§
impl RefUnwindSafe for HintBinding
impl Send for HintBinding
impl Sync for HintBinding
impl Unpin for HintBinding
impl UnwindSafe for HintBinding
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.source§impl<T> ResetDiscriminant<T> for Twhere
T: Copy,
impl<T> ResetDiscriminant<T> for Twhere T: Copy,
source§fn discriminant(&self) -> T
fn discriminant(&self) -> T
Value based on which equality for the reset will be determined.