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

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

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

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.