Struct bracket_terminal::prelude::SparseTile
source · [−]pub struct SparseTile {
pub idx: usize,
pub glyph: FontCharType,
pub fg: RGBA,
pub bg: RGBA,
}
Expand description
Internal storage structure for sparse tiles.
Fields
idx: usize
glyph: FontCharType
fg: RGBA
bg: RGBA
Trait Implementations
sourceimpl Clone for SparseTile
impl Clone for SparseTile
sourcefn clone(&self) -> SparseTile
fn clone(&self) -> SparseTile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl PartialEq<SparseTile> for SparseTile
impl PartialEq<SparseTile> for SparseTile
sourcefn eq(&self, other: &SparseTile) -> bool
fn eq(&self, other: &SparseTile) -> bool
impl Copy for SparseTile
impl StructuralPartialEq for SparseTile
Auto Trait Implementations
impl RefUnwindSafe for SparseTile
impl Send for SparseTile
impl Sync for SparseTile
impl Unpin for SparseTile
impl UnwindSafe for SparseTile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more