pub struct SparseTile {
pub idx: usize,
pub glyph: u16,
pub fg: RGBA,
pub bg: RGBA,
}
Expand description
Internal storage structure for sparse tiles.
Fields§
§idx: usize
§glyph: u16
§fg: RGBA
§bg: RGBA
Trait Implementations§
Source§impl Clone for SparseTile
impl Clone for SparseTile
Source§fn clone(&self) -> SparseTile
fn clone(&self) -> SparseTile
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 moreSource§impl PartialEq for SparseTile
impl PartialEq for SparseTile
impl Copy for SparseTile
impl StructuralPartialEq for SparseTile
Auto Trait Implementations§
impl Freeze for SparseTile
impl RefUnwindSafe for SparseTile
impl Send for SparseTile
impl Sync for SparseTile
impl Unpin for SparseTile
impl UnwindSafe for SparseTile
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