Trait allsorts::tables::FontTableProvider[][src]

pub trait FontTableProvider {
    fn table_data<'a>(
        &'a self,
        tag: u32
    ) -> Result<Option<Cow<'a, [u8]>>, ParseError>;
fn has_table<'a>(&'a self, tag: u32) -> bool; fn read_table_data<'a>(
        &'a self,
        tag: u32
    ) -> Result<Cow<'a, [u8]>, ParseError> { ... } }

Required methods

Return data for the specified table if present

Provided methods

Implementations on Foreign Types

Implementors