pub struct TileEntry {
pub tile_id: u16,
pub ink: u8,
}Expand description
A single cell in the tile buffer — which tile to draw and with what ink.
Fields§
§tile_id: u16Index into the tileset’s tile table.
ink: u8Ink / colour index (0 = transparent / background).
Trait Implementations§
impl Copy for TileEntry
impl Eq for TileEntry
impl StructuralPartialEq for TileEntry
Auto Trait Implementations§
impl Freeze for TileEntry
impl RefUnwindSafe for TileEntry
impl Send for TileEntry
impl Sync for TileEntry
impl Unpin for TileEntry
impl UnsafeUnpin for TileEntry
impl UnwindSafe for TileEntry
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