Struct allsorts_no_std::tables::cmap::Cmap [−][src]
Fields
scope: ReadScope<'a>
Implementations
impl<'a> Cmap<'a>
[src]
pub fn find_subtable_for_platform(
&self,
platform_id: PlatformId
) -> Option<EncodingRecord>
[src]
&self,
platform_id: PlatformId
) -> Option<EncodingRecord>
Find the first encoding record for the given platform_id
pub fn find_subtable(
&self,
platform_id: PlatformId,
encoding_id: EncodingId
) -> Option<EncodingRecord>
[src]
&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
[src]
Trait Implementations
impl<'a> ReadBinary<'a> for Cmap<'a>
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> ReadBinaryDep<'a> for T where
T: ReadBinary<'a>,
[src]
T: ReadBinary<'a>,
type Args = ()
type HostType = <T as ReadBinary<'a>>::HostType
pub fn read_dep(
&mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
[src]
&mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,