pub enum RegionRole {
BodyBlock,
StructuralHeading {
level: u8,
},
MarginalLabel,
Header,
Footer,
PageNumber,
Artifact,
}Expand description
The semantic role of a StructuredRegion.
Variants§
BodyBlock
Ordinary body text.
StructuralHeading
A document heading (ISO 32000-1 §14.7.2 H1..H6).
MarginalLabel
A short verse / section numeral sitting in a narrow column indent.
Header
Running header (§14.8.2.2 Pagination / Header).
Running footer (§14.8.2.2 Pagination / Footer).
PageNumber
Page-number folio (§14.8.2.2 Pagination / page number).
Artifact
Any other artifact (watermark, layout, background; §14.8.2.2).
Trait Implementations§
Source§impl Clone for RegionRole
impl Clone for RegionRole
Source§impl Debug for RegionRole
impl Debug for RegionRole
impl Eq for RegionRole
Source§impl PartialEq for RegionRole
impl PartialEq for RegionRole
Source§impl Serialize for RegionRole
impl Serialize for RegionRole
impl StructuralPartialEq for RegionRole
Auto Trait Implementations§
impl Freeze for RegionRole
impl RefUnwindSafe for RegionRole
impl Send for RegionRole
impl Sync for RegionRole
impl Unpin for RegionRole
impl UnsafeUnpin for RegionRole
impl UnwindSafe for RegionRole
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