pub enum Coverage<'a> {
Format1 {
glyphs: LazyArray16<'a, GlyphId>,
},
Format2 {
records: LazyArray16<'a, RangeRecord>,
},
}
Expand description
Variants§
Format1
Fields
§
glyphs: LazyArray16<'a, GlyphId>
Array of glyph IDs. Sorted.
Format2
Fields
§
records: LazyArray16<'a, RangeRecord>
Array of glyph ranges. Ordered by RangeRecord.start
.
Implementations§
Trait Implementations§
impl<'a> Copy for Coverage<'a>
Auto Trait Implementations§
impl<'a> Freeze for Coverage<'a>
impl<'a> RefUnwindSafe for Coverage<'a>
impl<'a> Send for Coverage<'a>
impl<'a> Sync for Coverage<'a>
impl<'a> Unpin for Coverage<'a>
impl<'a> UnwindSafe for Coverage<'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