#[repr(C)]
pub enum FileFormat {
Show 23 variants Afm = 4, Bib = 6, Bst = 7, Cmap = 45, Cnf = 8, Enc = 44, Format = 10, FontMap = 11, MiscFonts = 41, Ofm = 20, OpenType = 47, Ovf = 23, Pict = 25, Pk = 1, ProgramData = 39, Sfd = 46, TectonicPrimary = 59, Tex = 26, TexPsHeader = 30, Tfm = 3, TrueType = 36, Type1 = 32, Vf = 33,
}
Expand description

Different types of files that can be opened by TeX engines

This enumeration is used to guess filename extensions to try when looking for a file to open.

cbindgen:rename-all=ScreamingSnakeCase

Variants§

§

Afm = 4

An Adobe Font Metrics file.

§

Bib = 6

A BibTeX bibliography data file.

§

Bst = 7

A BibTeX style file.

§

Cmap = 45

A character map data file.

§

Cnf = 8

A configuration file.

§

Enc = 44

An encoding data file.

§

Format = 10

A TeX “format” file.

§

FontMap = 11

A font-map file.

§

MiscFonts = 41

A miscellaneous font file.

§

Ofm = 20

An OFM font metrics file.

§

OpenType = 47

An OpenType font file.

§

Ovf = 23

An OVF file.

§

Pict = 25

An image file.

§

Pk = 1

A PK font file.

§

ProgramData = 39

A general program data file.

§

Sfd = 46

An SFD file.

§

TectonicPrimary = 59

The Tectonic primary input file.

§

Tex = 26

A TeX language file.

§

TexPsHeader = 30

A TeX PostScript header file.

§

Tfm = 3

A TeX Font Metrics file.

§

TrueType = 36

A TrueType font file.

§

Type1 = 32

A Type1 font file.

§

Vf = 33

A Virtual Font file.

Trait Implementations§

source§

impl Clone for FileFormat

source§

fn clone(&self) -> FileFormat

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for FileFormat

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for FileFormat

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.