pub struct EventDispatcher { /* private fields */ }
Expand description
Struct which mutates tabs.selected().. Holds a mapping which can't be static since it's read from a config file. All keys are mapped to relevent events on tabs.selected(). Keybindings are read from Config`.
Creates a map of configurable keybindings to EventChar
The EventChar is then associated to a `tabs.selected(). method.
Reaction to received events.
Only non keyboard events are dealt here directly.
Keyboard events are configurable and are sent to specific functions
which needs to know those keybindings.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer.
Read more
Mutably dereferences the given pointer.
Read more
Drops the object pointed to by the given pointer.
Read more
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.