CmapSubtableEntry
struct · ferroui-base · v0.5.0
struct CmapSubtableEntry
Representation of a subtable entry in the 'cmap' table directory.
Members
platform
platform: crate::media::fonts::tables::platform_id::PlatformID
encoding
encoding: super::cmap_encoding::CmapEncoding
offset
offset: i32
format
format: super::cmap_format::CmapFormat
new
const fn new(platform: PlatformID, encoding: CmapEncoding, offset: i32, format: CmapFormat) -> Self
get_subtable_memory
fn get_subtable_memory(self: &Self, table: &ReadOnlyMemory<u8>) -> Result<ReadOnlyMemory<u8>, FontTableError>
The part of the cmap table that starts at this entry's offset.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqHashDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.