Struct glow_glyph::SectionGlyph [−]
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
impl Clone for SectionGlyph
impl Clone for SectionGlyph
pub fn clone(&self) -> SectionGlyph
pub fn clone(&self) -> SectionGlyph
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for SectionGlyph
impl Debug for SectionGlyph
impl PartialEq<SectionGlyph> for SectionGlyph
impl PartialEq<SectionGlyph> for SectionGlyph
pub fn eq(&self, other: &SectionGlyph) -> bool
pub fn eq(&self, other: &SectionGlyph) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &SectionGlyph) -> bool
pub fn ne(&self, other: &SectionGlyph) -> bool
This method tests for !=
.
impl PartialOrd<SectionGlyph> for SectionGlyph
impl PartialOrd<SectionGlyph> for SectionGlyph
pub fn partial_cmp(&self, other: &SectionGlyph) -> Option<Ordering>
pub fn partial_cmp(&self, other: &SectionGlyph) -> Option<Ordering>
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
impl StructuralPartialEq for SectionGlyph
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