Struct ttf_parser::feat::FeatureNames
source · pub struct FeatureNames<'a> { /* private fields */ }
Expand description
A list fo feature names.
Implementations§
source§impl<'a> FeatureNames<'a>
impl<'a> FeatureNames<'a>
sourcepub fn get(&self, index: u16) -> Option<FeatureName<'a>>
pub fn get(&self, index: u16) -> Option<FeatureName<'a>>
Returns a feature name at an index.
sourcepub fn find(&self, feature: u16) -> Option<FeatureName<'a>>
pub fn find(&self, feature: u16) -> Option<FeatureName<'a>>
Finds a feature name by ID.
Trait Implementations§
source§impl<'a> Clone for FeatureNames<'a>
impl<'a> Clone for FeatureNames<'a>
source§fn clone(&self) -> FeatureNames<'a>
fn clone(&self) -> FeatureNames<'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 FeatureNames<'a>
impl<'a> Debug for FeatureNames<'a>
source§impl<'a> IntoIterator for FeatureNames<'a>
impl<'a> IntoIterator for FeatureNames<'a>
impl<'a> Copy for FeatureNames<'a>
Auto Trait Implementations§
impl<'a> Freeze for FeatureNames<'a>
impl<'a> RefUnwindSafe for FeatureNames<'a>
impl<'a> Send for FeatureNames<'a>
impl<'a> Sync for FeatureNames<'a>
impl<'a> Unpin for FeatureNames<'a>
impl<'a> UnwindSafe for FeatureNames<'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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)