Enum input::MetaEvent[][src]

#[non_exhaustive]
pub enum MetaEvent {
Show variants Abort, ActionBreak, ActionDrop, ActionEdit, ActionFixup, ActionPick, ActionReword, ActionSquash, Edit, Exit, Delete, ForceAbort, ForceRebase, Help, InsertLine, Kill, MoveCursorDown, MoveCursorEnd, MoveCursorHome, MoveCursorLeft, MoveCursorPageDown, MoveCursorPageUp, MoveCursorRight, MoveCursorUp, No, OpenInEditor, Rebase, Redo, ScrollBottom, ScrollDown, ScrollJumpDown, ScrollJumpUp, ScrollLeft, ScrollRight, ScrollTop, ScrollUp, ShowCommit, ShowDiff, SwapSelectedDown, SwapSelectedUp, ToggleVisualMode, Undo, Yes, ExternalCommandSuccess, ExternalCommandError,
}
Expand description

Represents an event that is not tied directly to a user input device.

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Abort

The abort meta event.

ActionBreak

The break action meta event.

ActionDrop

The drop action meta event.

ActionEdit

The edit action meta event.

ActionFixup

The fixup action meta event.

ActionPick

The pick action meta event.

ActionReword

The reword action meta event.

ActionSquash

The squash action meta event.

Edit

The edit meta event.

Exit

The exit meta event.

Delete

The delete meta event.

ForceAbort

The force abort meta event.

ForceRebase

The force rebase meta event.

Help

The help meta event.

InsertLine

The insert line meta event.

Kill

The kill meta event.

MoveCursorDown

The move cursor down meta event.

MoveCursorEnd

The move cursor to end meta event.

MoveCursorHome

The move cursor to home meta event.

MoveCursorLeft

The move cursor left meta event.

MoveCursorPageDown

The move cursor page down meta event.

MoveCursorPageUp

The move cursor page up meta event.

MoveCursorRight

The move cursor right meta event.

MoveCursorUp

The move cursor up meta event.

No

The no meta event.

OpenInEditor

The open in editor meta event.

Rebase

The rebase meta event.

Redo

The redo meta event.

ScrollBottom

The scroll bottom meta event.

ScrollDown

The scroll bottom meta event.

ScrollJumpDown

The scroll to bottom meta event.

ScrollJumpUp

The scroll jump down meta event.

ScrollLeft

The scroll jump up meta event.

ScrollRight

The scroll left meta event.

ScrollTop

The scroll right meta event.

ScrollUp

The scroll to top meta event.

ShowCommit

The show commit meta event.

ShowDiff

The show diff meta event.

SwapSelectedDown

The swap selection down meta event.

SwapSelectedUp

The swap selection up meta event.

ToggleVisualMode

The toggle visual mode meta event.

Undo

The undo meta event.

Yes

The yes meta event.

ExternalCommandSuccess

The external command was successful meta event.

ExternalCommandError

the external command was an error meta event.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

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

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. 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.