1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/// A point in curses screen space pub struct ScreenPoint { /// X Coordinate pub x: usize, /// Y Coordinate pub y: usize, } /// A rectangle in screen space pub struct ScreenRect { /// The upper left corner of the rectangle pub start: ScreenPoint, /// The height and width of the rectangle pub offset: ScreenPoint, }