#[non_exhaustive]pub enum DiagnosticKind {
OverfullBox,
MissingCharacter,
FontSubstitution,
HostBox,
}Expand description
Kind of a Diagnostic.
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.
OverfullBox
A box is wider or taller than its set size.
MissingCharacter
A font has no glyph for a character, which is dropped.
FontSubstitution
LaTeX substituted a font for one it could not find.
HostBox
A host box was missing or rejected and nothing was drawn for it.
Trait Implementations§
Source§impl Clone for DiagnosticKind
impl Clone for DiagnosticKind
impl Copy for DiagnosticKind
Source§impl Debug for DiagnosticKind
impl Debug for DiagnosticKind
impl Eq for DiagnosticKind
Source§impl PartialEq for DiagnosticKind
impl PartialEq for DiagnosticKind
impl StructuralPartialEq for DiagnosticKind
Auto Trait Implementations§
impl Freeze for DiagnosticKind
impl RefUnwindSafe for DiagnosticKind
impl Send for DiagnosticKind
impl Sync for DiagnosticKind
impl Unpin for DiagnosticKind
impl UnsafeUnpin for DiagnosticKind
impl UnwindSafe for DiagnosticKind
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