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: u16The feature’s ID.
setting_names: LazyArray16<'a, SettingName>The feature’s setting names.
default_setting_index: u8The index of the default setting in the setting_names.
exclusive: boolThe feature’s exclusive settings. If set, the feature settings are mutually exclusive.
name_index: u16The 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 duplicate 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