#[non_exhaustive]pub enum FormatResourceKind {
TexInput,
Package,
}Expand description
Resource role captured in a cached format.
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
A TeX input file loaded during format initialization.
Package
A package style file loaded during format initialization.
Trait Implementations§
Source§impl Clone for FormatResourceKind
impl Clone for FormatResourceKind
Source§fn clone(&self) -> FormatResourceKind
fn clone(&self) -> FormatResourceKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FormatResourceKind
Source§impl Debug for FormatResourceKind
impl Debug for FormatResourceKind
impl Eq for FormatResourceKind
Source§impl PartialEq for FormatResourceKind
impl PartialEq for FormatResourceKind
impl StructuralPartialEq for FormatResourceKind
Auto Trait Implementations§
impl Freeze for FormatResourceKind
impl RefUnwindSafe for FormatResourceKind
impl Send for FormatResourceKind
impl Sync for FormatResourceKind
impl Unpin for FormatResourceKind
impl UnsafeUnpin for FormatResourceKind
impl UnwindSafe for FormatResourceKind
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