Trait read_fonts::tables::layout::ExtensionLookup
source · pub trait ExtensionLookup<'a, T: FontRead<'a>>: FontRead<'a> {
// Required method
fn extension(&self) -> Result<T, ReadError>;
}
Expand description
A trait that abstracts the behaviour of an extension subtable
This is necessary because GPOS and GSUB have different concrete types for their extension lookups.
Required Methods§
Object Safety§
This trait is not object safe.