#[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
Source§fn clone(&self) -> PointCoordinate
fn clone(&self) -> PointCoordinate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PointCoordinate
Source§impl Debug for PointCoordinate
impl Debug for PointCoordinate
Source§impl Default for PointCoordinate
impl Default for PointCoordinate
Source§fn default() -> PointCoordinate
fn default() -> PointCoordinate
Returns the “default value” for a type. Read more
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