pub enum StructRoleType {
Grouping,
BlockLevel(BlockLevelRoleSubtype),
InlineLevel(InlineLevelRoleSubtype),
Illustration,
Table,
}Expand description
Type of the PDF 1.7 structure element in the document, determining layout, permitted attributes, and nesting.
Variants§
Grouping
Elements used solely to group other elements together.
BlockLevel(BlockLevelRoleSubtype)
Elements laid out across the block axis, also known as BLSE.
InlineLevel(InlineLevelRoleSubtype)
Elements laid out across the inline axis, also known as ILSE.
Illustration
Elements whose contents consist of one or more graphics objects.
Table
Elements that occur in a table, such as rows and cells.
Trait Implementations§
Source§impl Clone for StructRoleType
impl Clone for StructRoleType
Source§fn clone(&self) -> StructRoleType
fn clone(&self) -> StructRoleType
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 StructRoleType
impl Debug for StructRoleType
Source§impl Hash for StructRoleType
impl Hash for StructRoleType
Source§impl PartialEq for StructRoleType
impl PartialEq for StructRoleType
impl Copy for StructRoleType
impl Eq for StructRoleType
impl StructuralPartialEq for StructRoleType
Auto Trait Implementations§
impl Freeze for StructRoleType
impl RefUnwindSafe for StructRoleType
impl Send for StructRoleType
impl Sync for StructRoleType
impl Unpin for StructRoleType
impl UnwindSafe for StructRoleType
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