pub trait LayoutTable {
const INDEX: TableIndex;
const IN_PLACE: bool;
// Required method
fn get_lookup(&self, index: u16) -> Option<&LookupInfo>;
}Expand description
A lookup-based layout table (GSUB or GPOS).
Required Associated Constants§
Sourceconst INDEX: TableIndex
const INDEX: TableIndex
The index of this table.
Required Methods§
Sourcefn get_lookup(&self, index: u16) -> Option<&LookupInfo>
fn get_lookup(&self, index: u16) -> Option<&LookupInfo>
Get the lookup at the specified index.
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.