Type Alias read_fonts::tables::name::Name
source · pub type Name<'a> = TableRef<'a, NameMarker>;
Expand description
Aliased Type§
struct Name<'a> { /* private fields */ }
Implementations§
source§impl<'a> Name<'a>
impl<'a> Name<'a>
sourcepub fn storage_offset(&self) -> u16
pub fn storage_offset(&self) -> u16
Offset to start of string storage (from start of table).
sourcepub fn name_record(&self) -> &'a [NameRecord]
pub fn name_record(&self) -> &'a [NameRecord]
The name records where count is the number of records.
sourcepub fn lang_tag_count(&self) -> Option<u16>
pub fn lang_tag_count(&self) -> Option<u16>
Number of language-tag records.
sourcepub fn lang_tag_record(&self) -> Option<&'a [LangTagRecord]>
pub fn lang_tag_record(&self) -> Option<&'a [LangTagRecord]>
The language-tag records where langTagCount is the number of records.