#[non_exhaustive]pub enum ResourceKind {
TexInput,
Package,
Class,
FontDefinition,
PackageSupport,
Font,
Encoding,
Map,
Config,
FormatImage,
Asset,
}Expand description
Kind of file a request asks for, which picks the suffixes the engine tries and the search path.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TexInput
TeX input file requested by \input.
Package
LaTeX package.
Class
LaTeX document class.
FontDefinition
Font definition file such as .fd.
PackageSupport
Package support file such as .clo, .def, .ldf or .cfg.
Font
Font metric file or font program.
Encoding
Font encoding vector.
Map
Font map.
Config
Engine configuration file.
FormatImage
Precompiled format image.
Asset
Other file owned by a package.
Implementations§
Trait Implementations§
Source§impl Clone for ResourceKind
impl Clone for ResourceKind
impl Copy for ResourceKind
Source§impl Debug for ResourceKind
impl Debug for ResourceKind
impl Eq for ResourceKind
Source§impl Hash for ResourceKind
impl Hash for ResourceKind
Source§impl Ord for ResourceKind
impl Ord for ResourceKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ResourceKind
impl PartialEq for ResourceKind
Source§impl PartialOrd for ResourceKind
impl PartialOrd for ResourceKind
impl StructuralPartialEq for ResourceKind
Auto Trait Implementations§
impl Freeze for ResourceKind
impl RefUnwindSafe for ResourceKind
impl Send for ResourceKind
impl Sync for ResourceKind
impl Unpin for ResourceKind
impl UnsafeUnpin for ResourceKind
impl UnwindSafe for ResourceKind
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