pub enum FeatureParams<'a> {
StylisticSet(StylisticSetParams<'a>),
Size(SizeParams<'a>),
CharacterVariant(CharacterVariantParams<'a>),
}
Expand description
An enum for different possible tables referenced by Feature::feature_params_offset
Variants§
StylisticSet(StylisticSetParams<'a>)
Size(SizeParams<'a>)
CharacterVariant(CharacterVariantParams<'a>)
Trait Implementations§
Source§impl<'a> FontReadWithArgs<'a> for FeatureParams<'a>
impl<'a> FontReadWithArgs<'a> for FeatureParams<'a>
Source§fn read_with_args(
bytes: FontData<'a>,
args: &Tag,
) -> Result<FeatureParams<'a>, ReadError>
fn read_with_args( bytes: FontData<'a>, args: &Tag, ) -> Result<FeatureParams<'a>, ReadError>
read an item, using the provided args. Read more
Auto Trait Implementations§
impl<'a> Freeze for FeatureParams<'a>
impl<'a> RefUnwindSafe for FeatureParams<'a>
impl<'a> Send for FeatureParams<'a>
impl<'a> Sync for FeatureParams<'a>
impl<'a> Unpin for FeatureParams<'a>
impl<'a> UnwindSafe for FeatureParams<'a>
Blanket Implementations§
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