Enum gtk::DeleteType [−][src]
#[non_exhaustive] pub enum DeleteType { Chars, WordEnds, Words, DisplayLines, DisplayLineEnds, ParagraphEnds, Paragraphs, Whitespace, // some variants omitted }
Expand description
See also: signal::Entry::delete-from-cursor
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Delete characters.
Delete only the portion of the word to the left/right of cursor if we’re in the middle of a word.
Delete words.
Delete display-lines. Display-lines refers to the visible lines, with respect to to the current line breaks. As opposed to paragraphs, which are defined by line breaks in the input.
Delete only the portion of the display-line to the left/right of cursor.
Delete to the end of the paragraph. Like C-k in Emacs (or its reverse).
Delete entire line. Like C-k in pico.
Delete only whitespace. Like M-\ in Emacs.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
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
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for DeleteType
impl Send for DeleteType
impl Sync for DeleteType
impl Unpin for DeleteType
impl UnwindSafe for DeleteType
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.