pub struct Tile {
pub width: usize,
pub height: usize,
pub pixels: Box<[u32]>,
}Expand description
One cell’s pixel graphics: 0xFFRRGGBB pixels, 0 where the cell’s own text and background show through.
Fields§
§width: usize§height: usize§pixels: Box<[u32]>Trait Implementations§
impl Eq for Tile
impl StructuralPartialEq for Tile
Auto Trait Implementations§
impl Freeze for Tile
impl RefUnwindSafe for Tile
impl Send for Tile
impl Sync for Tile
impl Unpin for Tile
impl UnsafeUnpin for Tile
impl UnwindSafe for Tile
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