Struct ttf_parser::feat::FeatureName
source · [−]pub struct FeatureName<'a> {
pub feature: u16,
pub setting_names: LazyArray16<'a, SettingName>,
pub default_setting_index: u8,
pub exclusive: bool,
pub name_index: u16,
}
Expand description
A feature names.
Fields
feature: u16
The feature’s ID.
setting_names: LazyArray16<'a, SettingName>
The feature’s setting names.
default_setting_index: u8
The index of the default setting in the setting_names
.
exclusive: bool
The feature’s exclusive settings. If set, the feature settings are mutually exclusive.
name_index: u16
The name
table index for the feature’s name in a 256..32768 range.
Trait Implementations
sourceimpl<'a> Clone for FeatureName<'a>
impl<'a> Clone for FeatureName<'a>
sourcefn clone(&self) -> FeatureName<'a>
fn clone(&self) -> FeatureName<'a>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for FeatureName<'a>
impl<'a> Debug for FeatureName<'a>
impl<'a> Copy for FeatureName<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for FeatureName<'a>
impl<'a> Send for FeatureName<'a>
impl<'a> Sync for FeatureName<'a>
impl<'a> Unpin for FeatureName<'a>
impl<'a> UnwindSafe for FeatureName<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more