[−][src]Struct alacritty::config::bindings::RawBinding
Bindings are deserialized into a RawBinding
before being parsed as a
KeyBinding
or MouseBinding
.
Fields
key: Option<Key>
mouse: Option<MouseButton>
mods: ModifiersState
mode: BindingMode
notmode: BindingMode
action: Action
Implementations
impl RawBinding
[src]
fn into_mouse_binding(self) -> Result<Binding<MouseButton>, Self>
[src]
fn into_key_binding(self) -> Result<Binding<Key>, Self>
[src]
Trait Implementations
impl<'a> Deserialize<'a> for RawBinding
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'a>,
[src]
D: Deserializer<'a>,
impl Eq for RawBinding
[src]
impl PartialEq<RawBinding> for RawBinding
[src]
fn eq(&self, other: &RawBinding) -> bool
[src]
fn ne(&self, other: &RawBinding) -> bool
[src]
impl StructuralEq for RawBinding
[src]
impl StructuralPartialEq for RawBinding
[src]
Auto Trait Implementations
impl RefUnwindSafe for RawBinding
impl Send for RawBinding
impl Sync for RawBinding
impl Unpin for RawBinding
impl UnwindSafe for RawBinding
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,