pub enum StructRoleType2 {
Document,
Grouping,
BlockLevel,
SubBlockLevel,
InlineLevel(InlineLevelRoleSubtype2),
List,
Table,
Caption,
Figure,
Formula,
Artifact,
}Expand description
Type of the PDF 2.0 structure element in the document, determining layout, permitted attributes, and nesting.
Variants§
Document
Elements representing the whole document or a fragment of it.
Grouping
Elements used solely to group other elements together.
BlockLevel
Elements laid out across the block axis, also known as BLSE.
SubBlockLevel
Elements that appear as sub-divisions of a block-level element.
InlineLevel(InlineLevelRoleSubtype2)
Elements laid out across the inline axis, also known as ILSE.
List
Elements related to lists.
Table
Elements related to tables.
Caption
Figure captions.
Figure
Figures, such as images and illustrations.
Formula
Mathematical formulas.
Artifact
Artifacts not part of the logical content of the document.
Trait Implementations§
Source§impl Clone for StructRoleType2
impl Clone for StructRoleType2
Source§fn clone(&self) -> StructRoleType2
fn clone(&self) -> StructRoleType2
Returns a duplicate of the value. Read more
1.0.0 · 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 StructRoleType2
impl Debug for StructRoleType2
Source§impl Hash for StructRoleType2
impl Hash for StructRoleType2
Source§impl PartialEq for StructRoleType2
impl PartialEq for StructRoleType2
impl Copy for StructRoleType2
impl Eq for StructRoleType2
impl StructuralPartialEq for StructRoleType2
Auto Trait Implementations§
impl Freeze for StructRoleType2
impl RefUnwindSafe for StructRoleType2
impl Send for StructRoleType2
impl Sync for StructRoleType2
impl Unpin for StructRoleType2
impl UnwindSafe for StructRoleType2
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