Struct allsorts_no_std::tables::OffsetTable[][src]

pub struct OffsetTable<'a> {
    pub sfnt_version: u32,
    pub search_range: u16,
    pub entry_selector: u16,
    pub range_shift: u16,
    pub table_records: ReadArray<'a, TableRecord>,
}

Fields

sfnt_version: u32search_range: u16entry_selector: u16range_shift: u16table_records: ReadArray<'a, TableRecord>

Implementations

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

pub fn find_table_record(&self, tag: u32) -> Option<TableRecord>[src]

pub fn read_table(
    &self,
    scope: &ReadScope<'a>,
    tag: u32
) -> Result<Option<ReadScope<'a>>, ParseError>
[src]

Trait Implementations

impl<'a> Clone for OffsetTable<'a>[src]

impl<'a> ReadBinary<'a> for OffsetTable<'a>[src]

type HostType = Self

Auto Trait Implementations

impl<'a> RefUnwindSafe for OffsetTable<'a>

impl<'a> Send for OffsetTable<'a>

impl<'a> Sync for OffsetTable<'a>

impl<'a> Unpin for OffsetTable<'a>

impl<'a> UnwindSafe for OffsetTable<'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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.