#[non_exhaustive]pub struct CmapSubtableFormat2Repr {
pub sub_header_keys: [uint16; 256],
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sub_header_keys: [uint16; 256]Implementations§
Source§impl CmapSubtableFormat2Repr
impl CmapSubtableFormat2Repr
pub fn sub_headers(&self) -> &[SubHeaderRepr]
pub const fn sub_header(&self, high_byte: u8) -> &SubHeaderRepr
pub const fn sub_header_zero(&self) -> &SubHeaderRepr
pub const fn map_one(&self, single_byte: u8) -> GlyphId
pub const fn map_two(&self, high_byte: u8, low_byte: u8) -> GlyphId
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CmapSubtableFormat2Repr
impl RefUnwindSafe for CmapSubtableFormat2Repr
impl Send for CmapSubtableFormat2Repr
impl Sync for CmapSubtableFormat2Repr
impl Unpin for CmapSubtableFormat2Repr
impl UnsafeUnpin for CmapSubtableFormat2Repr
impl UnwindSafe for CmapSubtableFormat2Repr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more