pub enum Point {
Active(PointCoordinate),
Viewport(PointCoordinate),
Screen(PointCoordinate),
History(PointCoordinate),
}Expand description
A point in the terminal grid.
Variants§
Active(PointCoordinate)
Active area where the cursor can move.
Viewport(PointCoordinate)
Visible viewport (changes when scrolled).
Screen(PointCoordinate)
Full screen including scrollback.
History(PointCoordinate)
Scrollback history only (before active area).
Trait Implementations§
Source§impl From<Point> for GhosttyPoint
impl From<Point> for GhosttyPoint
impl Copy for Point
impl Eq for Point
impl StructuralPartialEq for Point
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnsafeUnpin for Point
impl UnwindSafe for Point
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