[−][src]Struct alacritty_terminal::grid::Cursor
Fields
point: Point
The location of this cursor.
template: Cell
Template cell when using this cursor.
charsets: Charsets
Currently configured graphic character sets.
input_needs_wrap: bool
Tracks if the next call to input will need to first handle wrapping.
This is true after the last column is set with the input function. Any function that implicitly sets the line or column needs to set this to false to avoid wrapping twice.
Tracking input_needs_wrap
makes it possible to not store a cursor position that exceeds
the number of columns, which would lead to index out of bounds when interacting with arrays
without sanitization.
Trait Implementations
impl Clone for Cursor
[src]
impl Copy for Cursor
[src]
impl Debug for Cursor
[src]
impl Default for Cursor
[src]
impl Eq for Cursor
[src]
impl PartialEq<Cursor> for Cursor
[src]
impl StructuralEq for Cursor
[src]
impl StructuralPartialEq for Cursor
[src]
Auto Trait Implementations
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnwindSafe for Cursor
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>,