Struct glyph_brush_layout::SectionGlyph [−][src]
pub struct SectionGlyph { pub section_index: usize, pub byte_index: usize, pub glyph: Glyph, pub font_id: FontId, }
Expand description
A positioned glyph with info relating to the SectionText
from which it was derived.
Fields
section_index: usize
The SectionText
index.
byte_index: usize
The character byte index from the SectionText
text.
glyph: Glyph
A positioned glyph.
font_id: FontId
Font id.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for SectionGlyph
impl Send for SectionGlyph
impl Sync for SectionGlyph
impl Unpin for SectionGlyph
impl UnwindSafe for SectionGlyph
Blanket Implementations
Mutably borrows from an owned value. Read more