Enum gtk4::MovementStep [−][src]
#[non_exhaustive]
pub enum MovementStep {
LogicalPositions,
VisualPositions,
Words,
DisplayLines,
DisplayLineEnds,
Paragraphs,
ParagraphEnds,
Pages,
BufferEnds,
HorizontalPages,
// some variants omitted
}
Expand description
Passed as argument to various keybinding signals for moving the cursor position.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Move forward or back by graphemes
Move left or right by graphemes
Move forward or back by words
Move up or down lines (wrapped lines)
Move to either end of a line
Move up or down paragraphs (newline-ended lines)
Move to either end of a paragraph
Move by pages
Move to ends of the buffer
Move horizontally by pages
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 MovementStep
impl Send for MovementStep
impl Sync for MovementStep
impl Unpin for MovementStep
impl UnwindSafe for MovementStep
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.