pub enum LocaGlyph<'a> {
Empty,
Glyph(Glyph<'a>),
}Expand description
What a glyph’s entry in the loca table leads to.
A glyph with no contours — a space, say — is described by an empty range,
and finding one is a success. It is separate from the glyph being
unreadable, which Loca::get reports by answering None.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LocaGlyph<'a>
impl<'a> RefUnwindSafe for LocaGlyph<'a>
impl<'a> Send for LocaGlyph<'a>
impl<'a> Sync for LocaGlyph<'a>
impl<'a> Unpin for LocaGlyph<'a>
impl<'a> UnsafeUnpin for LocaGlyph<'a>
impl<'a> UnwindSafe for LocaGlyph<'a>
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