#[repr(C)]pub struct PointCoordinate {
pub x: u16,
pub y: u32,
}Expand description
A coordinate in the terminal grid.
Fields§
§x: u16Column (0-indexed).
y: u32Row (0-indexed). May exceed page size for screen/history tags.
Trait Implementations§
Source§impl Clone for PointCoordinate
impl Clone for PointCoordinate
impl Copy for PointCoordinate
Source§impl Debug for PointCoordinate
impl Debug for PointCoordinate
Auto Trait Implementations§
impl Freeze for PointCoordinate
impl RefUnwindSafe for PointCoordinate
impl Send for PointCoordinate
impl Sync for PointCoordinate
impl Unpin for PointCoordinate
impl UnsafeUnpin for PointCoordinate
impl UnwindSafe for PointCoordinate
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