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
Single
The font file represents a single font (.ttf
, .otf
, .woff
, etc.)
Collection(u32)
The font file represents a collection of fonts (.ttc
, .otc
, etc.)
Trait Implementations
impl Clone for FileType
[src]
impl Clone for FileType
fn clone(&self) -> FileType
[src]
fn clone(&self) -> FileType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for FileType
[src]
impl Copy for FileType
impl Debug for FileType
[src]
impl Debug for FileType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for FileType
[src]
impl PartialEq for FileType