#[non_exhaustive]pub enum ParsePhase {
Metadata,
ViewerPreferences,
Outline,
Destinations,
Annotations {
page: usize,
},
Form,
PageBoxes {
page: usize,
},
EmbeddedFiles,
Layers,
}Expand description
The structural area a warning came from.
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.
Metadata
ViewerPreferences
Outline
Destinations
Annotations
Form
PageBoxes
EmbeddedFiles
Layers
Optional Content (layers): metadata, hierarchy, configurations.
Trait Implementations§
Source§impl Clone for ParsePhase
impl Clone for ParsePhase
Source§fn clone(&self) -> ParsePhase
fn clone(&self) -> ParsePhase
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 ParsePhase
impl Debug for ParsePhase
impl Eq for ParsePhase
Source§impl PartialEq for ParsePhase
impl PartialEq for ParsePhase
impl StructuralPartialEq for ParsePhase
Auto Trait Implementations§
impl Freeze for ParsePhase
impl RefUnwindSafe for ParsePhase
impl Send for ParsePhase
impl Sync for ParsePhase
impl Unpin for ParsePhase
impl UnsafeUnpin for ParsePhase
impl UnwindSafe for ParsePhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more