Enum font_kit::file_type::FileType[][src]

pub enum FileType {
    Single,
    Collection(u32),
}

The type of a font file: either a single font or a TrueType/OpenType collection.

Variants

The font file represents a single font (.ttf, .otf, .woff, etc.)

The font file represents a collection of fonts (.ttc, .otc, etc.)

Trait Implementations

impl Clone for FileType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for FileType
[src]

impl Debug for FileType
[src]

Formats the value using the given formatter. Read more

impl PartialEq for FileType
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for FileType

impl Sync for FileType