#[non_exhaustive]pub enum FormatInitError {
TexInput {
name: String,
message: String,
},
Package {
name: String,
message: String,
},
}Expand description
Format initialization failure.
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 requested TeX input could not be loaded.
Package
A requested package could not be loaded.
Trait Implementations§
Source§impl Clone for FormatInitError
impl Clone for FormatInitError
Source§fn clone(&self) -> FormatInitError
fn clone(&self) -> FormatInitError
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 moreSource§impl Debug for FormatInitError
impl Debug for FormatInitError
impl Eq for FormatInitError
Source§impl PartialEq for FormatInitError
impl PartialEq for FormatInitError
Source§fn eq(&self, other: &FormatInitError) -> bool
fn eq(&self, other: &FormatInitError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FormatInitError
Auto Trait Implementations§
impl Freeze for FormatInitError
impl RefUnwindSafe for FormatInitError
impl Send for FormatInitError
impl Sync for FormatInitError
impl Unpin for FormatInitError
impl UnsafeUnpin for FormatInitError
impl UnwindSafe for FormatInitError
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