pub enum Block {
Paragraph(Paragraph),
Table(Table),
StructuredDocumentTag(StructuredDocumentTag),
}Expand description
A single block-level element of a document body: a paragraph, a table, or a structured document
tag (content control) wrapping more blocks. Real WordprocessingML documents freely interleave
these (e.g. a paragraph, then a table, then another paragraph), so this is modeled as a sequence
of blocks rather than separate lists per kind — matching
EG_ContentBlockContent/EG_BlockLevelElts, the actual schema group
w:body/w:sdtContent/etc. share.
Variants§
Trait Implementations§
impl StructuralPartialEq for Block
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnsafeUnpin for Block
impl UnwindSafe for Block
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