[][src]Struct allsorts::woff::TableDirectoryEntry

pub struct TableDirectoryEntry {
    pub tag: u32,
    pub offset: u32,
    pub comp_length: u32,
    pub orig_length: u32,
    pub orig_checksum: u32,
}

Fields

tag: u32offset: u32comp_length: u32orig_length: u32orig_checksum: u32

Methods

impl TableDirectoryEntry[src]

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

Read and uncompress the contents of a table entry

Trait Implementations

impl<'a> ReadFrom<'a> for TableDirectoryEntry[src]

type ReadType = ((U32Be, U32Be, U32Be), (U32Be, U32Be))

impl Clone for TableDirectoryEntry[src]

impl Debug for TableDirectoryEntry[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

type Args = ()

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

impl<'a, T> ReadFixedSizeDep<'a> for T where
    T: ReadUnchecked<'a>, 
[src]

impl<'a, T> ReadUnchecked<'a> for T where
    T: ReadFrom<'a>, 
[src]

type HostType = T

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

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

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.

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]