[][src]Enum gtk::MovementStep

#[non_exhaustive]pub enum MovementStep {
    LogicalPositions,
    VisualPositions,
    Words,
    DisplayLines,
    DisplayLineEnds,
    Paragraphs,
    ParagraphEnds,
    Pages,
    BufferEnds,
    HorizontalPages,
    // some variants omitted
}

Variants (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.
LogicalPositions

Move forward or back by graphemes

VisualPositions

Move left or right by graphemes

Words

Move forward or back by words

DisplayLines

Move up or down lines (wrapped lines)

DisplayLineEnds

Move to either end of a line

Paragraphs

Move up or down paragraphs (newline-ended lines)

ParagraphEnds

Move to either end of a paragraph

Pages

Move by pages

BufferEnds

Move to ends of the buffer

HorizontalPages

Move horizontally by pages

Trait Implementations

impl Clone for MovementStep[src]

impl Copy for MovementStep[src]

impl Debug for MovementStep[src]

impl Display for MovementStep[src]

impl Eq for MovementStep[src]

impl<'a> FromValue<'a> for MovementStep[src]

impl<'a> FromValueOptional<'a> for MovementStep[src]

impl Hash for MovementStep[src]

impl Ord for MovementStep[src]

impl PartialEq<MovementStep> for MovementStep[src]

impl PartialOrd<MovementStep> for MovementStep[src]

impl SetValue for MovementStep[src]

impl StaticType for MovementStep[src]

impl StructuralEq for MovementStep[src]

impl StructuralPartialEq for MovementStep[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.