pub type EntryData<'a> = TableRef<'a, EntryDataMarker>;
Aliased Type§
struct EntryData<'a> { /* private fields */ }
Implementations§
Source§impl<'a> EntryData<'a>
impl<'a> EntryData<'a>
pub fn format_flags(&self) -> EntryFormatFlags
pub fn feature_count(&self) -> Option<u8>
pub fn design_space_count(&self) -> Option<u16>
pub fn design_space_segments(&self) -> Option<&'a [DesignSpaceSegment]>
pub fn copy_count(&self) -> Option<u8>
pub fn copy_indices(&self) -> Option<&'a [BigEndian<Uint24>]>
pub fn entry_id_delta(&self) -> Option<IdDeltaOrLength>
pub fn patch_format(&self) -> Option<u8>
pub fn codepoint_data(&self) -> &'a [u8] ⓘ
Source§impl<'a, T> TableRef<'a, T>
impl<'a, T> TableRef<'a, T>
Sourcepub fn resolve_offset<O: Offset, R: FontRead<'a>>(
&self,
offset: O,
) -> Result<R, ReadError>
pub fn resolve_offset<O: Offset, R: FontRead<'a>>( &self, offset: O, ) -> Result<R, ReadError>
Resolve the provided offset from the start of this table.
Sourcepub fn offset_data(&self) -> FontData<'a>
pub fn offset_data(&self) -> FontData<'a>
Return a reference to this table’s raw data.
We use this in the compile crate to resolve offsets.