[][src]Enum druid::text::movement::Movement

pub enum Movement {
    Left,
    Right,
    Up,
    Down,
    LeftWord,
    RightWord,
    PrecedingLineBreak,
    NextLineBreak,
    StartOfDocument,
    EndOfDocument,
}

The specification of a movement.

Variants

Left

Move to the left by one grapheme cluster.

Right

Move to the right by one grapheme cluster.

Up

Move up one visible line.

Down

Move down one visible line.

LeftWord

Move to the left by one word.

RightWord

Move to the right by one word.

PrecedingLineBreak

Move to left end of visible line.

NextLineBreak

Move to right end of visible line.

StartOfDocument

Move to the beginning of the document

EndOfDocument

Move to the end of the document

Trait Implementations

impl Clone for Movement[src]

impl Copy for Movement[src]

impl Debug for Movement[src]

impl PartialEq<Movement> for Movement[src]

impl StructuralPartialEq for Movement[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AnyEq for T where
    T: PartialEq<T> + Any
[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> RoundFrom<T> for T

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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.