Enum tectonic_bridge_core::FileFormat
source · #[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
impl Clone for FileFormat
source§fn clone(&self) -> FileFormat
fn clone(&self) -> FileFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FileFormat
impl Debug for FileFormat
impl Copy for FileFormat
Auto Trait Implementations§
impl RefUnwindSafe for FileFormat
impl Send for FileFormat
impl Sync for FileFormat
impl Unpin for FileFormat
impl UnwindSafe for FileFormat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more