pub enum DocumentStructure {
Forms,
Outlines,
NamesAndAttachments,
NamedDestinations,
OptionalContent,
StructureTree,
MetadataStream,
PageLabels,
DigitalSignatures,
Encryption,
Annotations,
DocumentInfo,
}Expand description
A catalog-level semantic structure considered by lossless operations.
Variants§
Forms
Interactive form field tree.
Outlines
Document outline/bookmark tree.
NamesAndAttachments
Catalog name trees, including embedded files.
NamedDestinations
Legacy catalog destination dictionary.
OptionalContent
Optional-content configuration and groups.
StructureTree
Tagged-PDF structure tree.
MetadataStream
Catalog metadata stream.
PageLabels
Page-label number tree.
DigitalSignatures
Digital signature fields with a signature value.
Encryption
Trailer-level encryption dictionary.
Annotations
Page annotations reachable from selected pages.
DocumentInfo
Trailer /Info document metadata.
Trait Implementations§
Source§impl Clone for DocumentStructure
impl Clone for DocumentStructure
Source§fn clone(&self) -> DocumentStructure
fn clone(&self) -> DocumentStructure
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 DocumentStructure
Source§impl Debug for DocumentStructure
impl Debug for DocumentStructure
impl Eq for DocumentStructure
Source§impl Ord for DocumentStructure
impl Ord for DocumentStructure
Source§fn cmp(&self, other: &DocumentStructure) -> Ordering
fn cmp(&self, other: &DocumentStructure) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DocumentStructure
impl PartialEq for DocumentStructure
Source§impl PartialOrd for DocumentStructure
impl PartialOrd for DocumentStructure
impl StructuralPartialEq for DocumentStructure
Auto Trait Implementations§
impl Freeze for DocumentStructure
impl RefUnwindSafe for DocumentStructure
impl Send for DocumentStructure
impl Sync for DocumentStructure
impl Unpin for DocumentStructure
impl UnsafeUnpin for DocumentStructure
impl UnwindSafe for DocumentStructure
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