pub struct Cmap<'a> {
pub scope: ReadScope<'a>,
/* private fields */
}Fields§
§scope: ReadScope<'a>Implementations§
Source§impl<'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§
Auto Trait Implementations§
impl<'a> Freeze for Cmap<'a>
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§
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more