pub struct Cmap<'a> {
pub scope: ReadScope<'a>,
/* private fields */
}
Fields
scope: ReadScope<'a>
Implementations
sourceimpl<'a> Cmap<'a>
impl<'a> Cmap<'a>
sourcepub fn find_subtable_for_platform(
&self,
platform_id: PlatformId
) -> Option<EncodingRecord>
pub fn find_subtable_for_platform(
&self,
platform_id: PlatformId
) -> Option<EncodingRecord>
Find the first encoding record for the given platform_id
sourcepub fn find_subtable(
&self,
platform_id: PlatformId,
encoding_id: EncodingId
) -> Option<EncodingRecord>
pub fn find_subtable(
&self,
platform_id: PlatformId,
encoding_id: EncodingId
) -> Option<EncodingRecord>
Find the first encoding record for the given platform_id
and encoding_id
pub fn encoding_records(&self) -> impl Iterator<Item = EncodingRecord> + 'a
Trait Implementations
sourceimpl<'a> ReadBinary<'a> for Cmap<'a>
impl<'a> ReadBinary<'a> for Cmap<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Cmap<'a>
impl<'a> Send for Cmap<'a>
impl<'a> Sync for Cmap<'a>
impl<'a> Unpin for Cmap<'a>
impl<'a> UnwindSafe for Cmap<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more