Struct sfnt::Sfnt[][src]

pub struct Sfnt<'a> {
    pub bytes: &'a [u8],
    pub header: Header,
    pub records: View<'a, Record<'a>, ()>,
}

An SFNT file.

Fields

The bytes in this file.

The header of this file.

The table records for the tables in this file.

Methods

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

Parses the supplied SFNT file.

Returns the table in this file for the supplied table record.

Returns the table in this file with the supplied tag.

Important traits for SfntIter<'a>

Returns an iterator over the tables in this file.

Trait Implementations

impl<'a> Copy for Sfnt<'a>
[src]

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for Sfnt<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for Sfnt<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Eq for Sfnt<'a>
[src]

Auto Trait Implementations

impl<'a> !Send for Sfnt<'a>

impl<'a> !Sync for Sfnt<'a>