pub struct FeatureListTable { /* private fields */ }Expand description
The feature tags of a GSUB or GPOS table.
Implementations§
Source§impl FeatureListTable
impl FeatureListTable
Sourcepub fn features(&self) -> &[OpenTypeTag]
pub fn features(&self) -> &[OpenTypeTag]
The distinct feature tags, in table order.
Sourcepub fn load_gsub(
font: &dyn IFontMemory,
) -> Result<Option<FeatureListTable>, FontTableError>
pub fn load_gsub( font: &dyn IFontMemory, ) -> Result<Option<FeatureListTable>, FontTableError>
Loads the features of the GSUB table.
Ok(None) when the font has no GSUB table; Err when it is malformed.
Sourcepub fn load_gpos(
font: &dyn IFontMemory,
) -> Result<Option<FeatureListTable>, FontTableError>
pub fn load_gpos( font: &dyn IFontMemory, ) -> Result<Option<FeatureListTable>, FontTableError>
Loads the features of the GPOS table.
Ok(None) when the font has no GPOS table; Err when it is malformed.
Trait Implementations§
Source§impl Clone for FeatureListTable
impl Clone for FeatureListTable
Source§impl Debug for FeatureListTable
impl Debug for FeatureListTable
impl Eq for FeatureListTable
Source§impl PartialEq for FeatureListTable
impl PartialEq for FeatureListTable
impl StructuralPartialEq for FeatureListTable
Auto Trait Implementations§
impl Freeze for FeatureListTable
impl RefUnwindSafe for FeatureListTable
impl Send for FeatureListTable
impl Sync for FeatureListTable
impl Unpin for FeatureListTable
impl UnsafeUnpin for FeatureListTable
impl UnwindSafe for FeatureListTable
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more