Enum truetype::maximum_profile::MaximumProfile [] [src]

pub enum MaximumProfile {
    Version05(MaximumProfile05),
    Version10(MaximumProfile10),
}

A maximum profile.

Variants

Version05(MaximumProfile05)

Version 0.5.

Version10(MaximumProfile10)

Version 1.0.

Methods

impl MaximumProfile
[src]

fn glyph_count(&self) -> usize

Return the number of glyphs.

Trait Implementations

impl PartialEq for MaximumProfile
[src]

fn eq(&self, __arg_0: &MaximumProfile) -> bool

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

fn ne(&self, __arg_0: &MaximumProfile) -> bool

This method tests for !=.

impl Eq for MaximumProfile
[src]

impl Debug for MaximumProfile
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for MaximumProfile
[src]

fn clone(&self) -> MaximumProfile

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Value for MaximumProfile
[src]

fn read<T: Tape>(tape: &mut T) -> Result<Self>

Read a value.