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>