Struct spectrusty_core::video::CellCoords
source · Expand description
General-purpose coordinates, used by various video related methods as a return or an argument type.
Fields§
§column: u8
5 lowest bits: 0 - 31 indicates cell column
row: u8
INK/PAPER row range is: [0, 192), screen attributes row range is: [0, 24).
Trait Implementations§
source§impl Clone for CellCoords
impl Clone for CellCoords
source§fn clone(&self) -> CellCoords
fn clone(&self) -> CellCoords
Returns a copy 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 more