[][src]Struct alacritty_terminal::vi_mode::ViModeCursor

pub struct ViModeCursor {
    pub point: Point,
}

Cursor tracking vi mode position.

Fields

point: Point

Implementations

impl ViModeCursor[src]

pub fn new(point: Point) -> Self[src]

#[must_use = "this returns the result of the operation, without modifying the original"]pub fn motion<T: EventListener>(
    self,
    term: &mut Term<T>,
    motion: ViMotion
) -> Self
[src]

Move vi mode cursor.

#[must_use = "this returns the result of the operation, without modifying the original"]pub fn scroll<T: EventListener>(self, term: &Term<T>, lines: isize) -> Self[src]

Get target cursor point for vim-like page movement.

Trait Implementations

impl Clone for ViModeCursor[src]

impl Copy for ViModeCursor[src]

impl Default for ViModeCursor[src]

Auto Trait Implementations

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, 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.