Skip to main content

FontTableMethods

Trait FontTableMethods 

Source
pub(crate) trait FontTableMethods {
    // Required method
    fn buffer(&self) -> &[u8] ;

    // Provided method
    fn parse_as_specific_table<'a, Table>(&'a self) -> Result<Table, ReadError>
       where Table: FontRead<'a, Args = ()> { ... }
}

Required Methods§

Source

fn buffer(&self) -> &[u8]

Provided Methods§

Source

fn parse_as_specific_table<'a, Table>(&'a self) -> Result<Table, ReadError>
where Table: FontRead<'a, Args = ()>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§