pub struct CellCoords {
pub column: u8,
pub row: u8,
}Expand description
General-purpose coordinates, used by various video related methods as a return or an argument type.
Fields§
§column: u85 lowest bits: 0 - 31 indicates cell column
row: u8INK/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 duplicate 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 moreSource§impl Debug for CellCoords
impl Debug for CellCoords
Source§impl PartialEq for CellCoords
impl PartialEq for CellCoords
impl Copy for CellCoords
impl Eq for CellCoords
impl StructuralPartialEq for CellCoords
Auto Trait Implementations§
impl Freeze for CellCoords
impl RefUnwindSafe for CellCoords
impl Send for CellCoords
impl Sync for CellCoords
impl Unpin for CellCoords
impl UnwindSafe for CellCoords
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S, T> IntoSample<S> for Twhere
S: FromSample<T>,
impl<S, T> IntoSample<S> for Twhere
S: FromSample<T>,
Source§fn into_sample(self) -> S
fn into_sample(self) -> S
Convert to
S a sample type from self.