pub enum Coverage {
Format1 {
glyph_array: Vec<u16>,
},
Format2 {
coverage_range_array: Vec<CoverageRangeRecord>,
},
}
Variants
Format1
Format2
Fields
coverage_range_array: Vec<CoverageRangeRecord>
Implementations
sourceimpl Coverage
impl Coverage
pub fn glyph_coverage_value(&self, glyph: u16) -> Option<u16>
sourcepub fn glyph_count(&self) -> usize
pub fn glyph_count(&self) -> usize
Convenience method to count the total number of glyphs covered
Trait Implementations
sourceimpl<'a> ReadBinary<'a> for Coverage
impl<'a> ReadBinary<'a> for Coverage
Auto Trait Implementations
impl RefUnwindSafe for Coverage
impl Send for Coverage
impl Sync for Coverage
impl Unpin for Coverage
impl UnwindSafe for Coverage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more