pub struct GlyphId(pub u32);Expand description
Represents a glyph identifier for a particular font. This identifier will not necessarily correspond to the correct glyph in a font other than the one that it was obtained from.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl IntoGlyphId for GlyphId
impl IntoGlyphId for GlyphId
Source§fn into_glyph_id(self, _font: &Font<'_>) -> GlyphId
fn into_glyph_id(self, _font: &Font<'_>) -> GlyphId
Convert
self into a GlyphId, consulting the index map of font if
necessary.Source§impl Ord for GlyphId
impl Ord for GlyphId
Source§impl PartialOrd for GlyphId
impl PartialOrd for GlyphId
impl Copy for GlyphId
impl Eq for GlyphId
impl StructuralPartialEq for GlyphId
Auto Trait Implementations§
impl Freeze for GlyphId
impl RefUnwindSafe for GlyphId
impl Send for GlyphId
impl Sync for GlyphId
impl Unpin for GlyphId
impl UnwindSafe for GlyphId
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