pub struct CursorViewport {
pub x: u16,
pub y: u16,
pub at_wide_tail: bool,
}Expand description
Cursor viewport position information.
Fields§
§x: u16Cursor viewport x position in cells.
y: u16Cursor viewport y position in cells.
at_wide_tail: boolWhether the cursor is on the tail of a wide character.
Trait Implementations§
Source§impl Clone for CursorViewport
impl Clone for CursorViewport
Source§fn clone(&self) -> CursorViewport
fn clone(&self) -> CursorViewport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CursorViewport
impl Debug for CursorViewport
Source§impl PartialEq for CursorViewport
impl PartialEq for CursorViewport
impl Copy for CursorViewport
impl Eq for CursorViewport
impl StructuralPartialEq for CursorViewport
Auto Trait Implementations§
impl Freeze for CursorViewport
impl RefUnwindSafe for CursorViewport
impl Send for CursorViewport
impl Sync for CursorViewport
impl Unpin for CursorViewport
impl UnsafeUnpin for CursorViewport
impl UnwindSafe for CursorViewport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more