Enum ttf_parser::opentype_layout::Coverage
source · [−]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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more