pub struct CmapSubtable { /* private fields */ }Implementations§
Source§impl CmapSubtable
impl CmapSubtable
pub const fn format(&self) -> u16
pub const fn length(&self) -> Option<u32>
pub const fn language(&self) -> Option<u32>
pub const fn get_as_bytes(&self) -> Option<&[u8]>
pub const fn get_as<T: CmapSubtableTrait>(&self) -> Option<&T>
pub const unsafe fn get_as_unchecked<T: CmapSubtableTrait>(&self) -> &T
pub const fn as_format0(&self) -> Option<&Format0>
pub const fn as_format2(&self) -> Option<&Format2>
pub const fn as_format4(&self) -> Option<&Format4>
pub const fn as_format6(&self) -> Option<&Format6>
pub const fn as_format8(&self) -> Option<&Format8>
pub const fn as_format10(&self) -> Option<&Format10>
pub const fn as_format12(&self) -> Option<&Format12>
pub const fn as_format13(&self) -> Option<&Format13>
pub const fn as_format14(&self) -> Option<&Format14>
Auto Trait Implementations§
impl Freeze for CmapSubtable
impl RefUnwindSafe for CmapSubtable
impl Send for CmapSubtable
impl Sync for CmapSubtable
impl Unpin for CmapSubtable
impl UnsafeUnpin for CmapSubtable
impl UnwindSafe for CmapSubtable
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