pub enum BodyContent {
Paragraph(CT_P),
Table(CT_Tbl),
RawXml(Vec<u8>),
}Expand description
Content that can appear in a document body (paragraphs and tables).
Variants§
Paragraph(CT_P)
Table(CT_Tbl)
RawXml(Vec<u8>)
Raw XML for unknown elements (bookmarks, SDTs, mc:AlternateContent, etc.)
Trait Implementations§
Source§impl Clone for BodyContent
impl Clone for BodyContent
Source§fn clone(&self) -> BodyContent
fn clone(&self) -> BodyContent
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 moreSource§impl Debug for BodyContent
impl Debug for BodyContent
Source§impl PartialEq for BodyContent
impl PartialEq for BodyContent
impl StructuralPartialEq for BodyContent
Auto Trait Implementations§
impl Freeze for BodyContent
impl RefUnwindSafe for BodyContent
impl Send for BodyContent
impl Sync for BodyContent
impl Unpin for BodyContent
impl UnsafeUnpin for BodyContent
impl UnwindSafe for BodyContent
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