[][src]Struct alacritty::config::bindings::RawBinding

struct RawBinding {
    key: Option<Key>,
    mouse: Option<MouseButton>,
    mods: ModifiersState,
    mode: BindingMode,
    notmode: BindingMode,
    action: Action,
}

Bindings are deserialized into a RawBinding before being parsed as a KeyBinding or MouseBinding.

Fields

key: Option<Key>mouse: Option<MouseButton>mods: ModifiersStatemode: BindingModenotmode: BindingModeaction: 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]

impl Eq for RawBinding[src]

impl PartialEq<RawBinding> for RawBinding[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.