pub struct Tile {
pub glyph: u16,
pub fg: RGBA,
pub bg: RGBA,
}
Expand description
The internal storage type for tiles in a simple console.
Fields§
§glyph: u16
§fg: RGBA
§bg: RGBA
Trait Implementations§
impl Copy 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 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