pub enum IssueSeverity {
Error,
Warning,
}Expand description
Severity tag for HierarchyIssue.
Variants§
Error
Spec violation that breaks rendering — e.g. a /Pages tree
with no leaves, or a missing required /Root reference.
Warning
Spec divergence the reader can tolerate — e.g. a /Pages
node missing its /Type tag, or a /Count that doesn’t
match the actual leaves.
Trait Implementations§
Source§impl Clone for IssueSeverity
impl Clone for IssueSeverity
Source§fn clone(&self) -> IssueSeverity
fn clone(&self) -> IssueSeverity
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 IssueSeverity
Source§impl Debug for IssueSeverity
impl Debug for IssueSeverity
impl Eq for IssueSeverity
Source§impl PartialEq for IssueSeverity
impl PartialEq for IssueSeverity
Source§fn eq(&self, other: &IssueSeverity) -> bool
fn eq(&self, other: &IssueSeverity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IssueSeverity
Auto Trait Implementations§
impl Freeze for IssueSeverity
impl RefUnwindSafe for IssueSeverity
impl Send for IssueSeverity
impl Sync for IssueSeverity
impl Unpin for IssueSeverity
impl UnsafeUnpin for IssueSeverity
impl UnwindSafe for IssueSeverity
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