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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)