Struct allsorts_no_std::tables::cmap::Cmap[][src]

pub struct Cmap<'a> {
    pub scope: ReadScope<'a>,
    // some fields omitted
}

Fields

scope: ReadScope<'a>

Implementations

impl<'a> Cmap<'a>[src]

pub fn find_subtable_for_platform(
    &self,
    platform_id: PlatformId
) -> Option<EncodingRecord>
[src]

Find the first encoding record for the given platform_id

pub fn find_subtable(
    &self,
    platform_id: PlatformId,
    encoding_id: EncodingId
) -> Option<EncodingRecord>
[src]

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]

type HostType = Self

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> ReadBinaryDep<'a> for T where
    T: ReadBinary<'a>, 
[src]

type Args = ()

type HostType = <T as ReadBinary<'a>>::HostType

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.