[−][src]Struct alacritty_terminal::vi_mode::ViModeCursor
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]
self,
term: &mut Term<T>,
motion: ViMotion
) -> Self
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]
fn clone(&self) -> ViModeCursor
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ViModeCursor
[src]
impl Default for ViModeCursor
[src]
fn default() -> ViModeCursor
[src]
Auto Trait Implementations
impl RefUnwindSafe for ViModeCursor
impl Send for ViModeCursor
impl Sync for ViModeCursor
impl Unpin for ViModeCursor
impl UnwindSafe for ViModeCursor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,