swash

Trait TableProvider

source
pub trait TableProvider {
    // Required method
    fn table_by_tag(&self, tag: Tag) -> Option<&[u8]>;
}
Expand description

Source that can provide table data by tag.

Required Methods§

source

fn table_by_tag(&self, tag: Tag) -> Option<&[u8]>

Returns the table for the specified tag.

Implementors§

source§

impl<'a> TableProvider for &'a FontRef<'a>

source§

impl<'a> TableProvider for FontRef<'a>