Struct owned_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§
source§impl<'a> Clone for FeatureName<'a>
impl<'a> Clone for FeatureName<'a>
source§fn clone(&self) -> FeatureName<'a>
fn clone(&self) -> FeatureName<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for FeatureName<'a>
impl<'a> Debug for FeatureName<'a>
impl<'a> Copy for FeatureName<'a>
Auto Trait Implementations§
impl<'a> Freeze for FeatureName<'a>
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§
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)