Type Alias read_fonts::tables::layout::Feature
source · pub type Feature<'a> = TableRef<'a, FeatureMarker>;
Expand description
Aliased Type§
struct Feature<'a> { /* private fields */ }
Implementations§
source§impl<'a> Feature<'a>
impl<'a> Feature<'a>
sourcepub fn feature_params_offset(&self) -> Nullable<Offset16>
pub fn feature_params_offset(&self) -> Nullable<Offset16>
Offset from start of Feature table to FeatureParams table, if defined for the feature and present, else NULL
sourcepub fn feature_params(&self) -> Option<Result<FeatureParams<'a>, ReadError>>
pub fn feature_params(&self) -> Option<Result<FeatureParams<'a>, ReadError>>
Attempt to resolve feature_params_offset
.
sourcepub fn lookup_index_count(&self) -> u16
pub fn lookup_index_count(&self) -> u16
Number of LookupList indices for this feature
sourcepub fn lookup_list_indices(&self) -> &'a [BigEndian<u16>]
pub fn lookup_list_indices(&self) -> &'a [BigEndian<u16>]
Array of indices into the LookupList — zero-based (first lookup is LookupListIndex = 0)