Enum MoveOperation

Source
pub enum MoveOperation {
Show 25 variants NoMove, Start, StartOfLine, StartOfBlock, StartOfWord, PreviousBlock, PreviousCharacter, PreviousWord, Up, Left, WordLeft, End, EndOfLine, EndOfWord, EndOfBlock, NextBlock, NextCharacter, NextWord, Down, Right, WordRight, NextCell, PreviousCell, NextRow, PreviousRow,
}

Variants§

§

NoMove

Keep the cursor where it is.

§

Start

Move to the start of the document.

§

StartOfLine

Move to the start of the current line.

§

StartOfBlock

Move to the start of the current block.

§

StartOfWord

Move to the start of the current word.

§

PreviousBlock

Move to the start of the previous block.

§

PreviousCharacter

Move to the previous character.

§

PreviousWord

Move to the beginning of the previous word.

§

Up

Move up one line.

§

Left

Move left one character.

§

WordLeft

Move left one word.

§

End

Move to the end of the document.

§

EndOfLine

Move to the end of the current line.

§

EndOfWord

Move to the end of the current word.

§

EndOfBlock

Move to the end of the current block.

§

NextBlock

Move to the beginning of the next block.

§

NextCharacter

Move to the next character.

§

NextWord

Move to the next word.

§

Down

Move down one line.

§

Right

Move right one character.

§

WordRight

Move right one word.

§

NextCell

Move to the beginning of the next table cell inside the current table. If the current cell is the last cell in the row, the cursor will move to the first cell in the next row.

§

PreviousCell

Move to the beginning of the previous table cell inside the current table. If the current cell is the first cell in the row, the cursor will move to the last cell in the previous row.

§

NextRow

Move to the first new cell of the next row in the current table.

§

PreviousRow

Move to the last cell of the previous row in the current table.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V