Struct read_fonts::tables::layout::FeatureRecord
source · #[repr(C)]#[repr(packed)]pub struct FeatureRecord {
pub feature_tag: BigEndian<Tag>,
pub feature_offset: BigEndian<Offset16>,
}Expand description
Part of FeatureList
Fields§
§feature_tag: BigEndian<Tag>4-byte feature identification tag
feature_offset: BigEndian<Offset16>Offset to Feature table, from beginning of FeatureList
Implementations§
source§impl FeatureRecord
impl FeatureRecord
sourcepub fn feature_tag(&self) -> Tag
pub fn feature_tag(&self) -> Tag
4-byte feature identification tag
sourcepub fn feature_offset(&self) -> Offset16
pub fn feature_offset(&self) -> Offset16
Offset to Feature table, from beginning of FeatureList
Trait Implementations§
source§impl Clone for FeatureRecord
impl Clone for FeatureRecord
source§fn clone(&self) -> FeatureRecord
fn clone(&self) -> FeatureRecord
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 Debug for FeatureRecord
impl Debug for FeatureRecord
source§impl FixedSize for FeatureRecord
impl FixedSize for FeatureRecord
source§const RAW_BYTE_LEN: usize = 6usize
const RAW_BYTE_LEN: usize = 6usize
The raw size of this type, in bytes. Read more