Enum allsorts_no_std::layout::Coverage[][src]

pub enum Coverage {
    Format1 {
        glyph_array: Vec<u16>,
    },
    Format2 {
        coverage_range_array: Vec<CoverageRangeRecord>,
    },
}

Variants

Format1

Fields of Format1

glyph_array: Vec<u16>
Format2

Fields of Format2

coverage_range_array: Vec<CoverageRangeRecord>

Implementations

impl Coverage[src]

pub fn glyph_coverage_value(&self, glyph: u16) -> Option<u16>[src]

pub fn glyph_count(&self) -> usize[src]

Convenience method to count the total number of glyphs covered

Trait Implementations

impl<'a> ReadBinary<'a> for Coverage[src]

type HostType = Self

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> ReadBinaryDep<'a> for T where
    T: ReadBinary<'a>, 
[src]

type Args = ()

type HostType = <T as ReadBinary<'a>>::HostType

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.