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
SingleThe 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 FileTypefn clone(&self) -> FileType[src]
fn clone(&self) -> FileTypeReturns 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 FileTypeimpl Debug for FileType[src]
impl Debug for FileTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for FileType[src]
impl PartialEq for FileType