Enum docx_rs::DocumentChild
source · pub enum DocumentChild {
Paragraph(Box<Paragraph>),
Table(Box<Table>),
BookmarkStart(BookmarkStart),
BookmarkEnd(BookmarkEnd),
CommentStart(Box<CommentRangeStart>),
CommentEnd(CommentRangeEnd),
StructuredDataTag(Box<StructuredDataTag>),
TableOfContents(Box<TableOfContents>),
}
Variants§
Paragraph(Box<Paragraph>)
Table(Box<Table>)
BookmarkStart(BookmarkStart)
BookmarkEnd(BookmarkEnd)
CommentStart(Box<CommentRangeStart>)
CommentEnd(CommentRangeEnd)
StructuredDataTag(Box<StructuredDataTag>)
TableOfContents(Box<TableOfContents>)
Trait Implementations§
source§impl Clone for DocumentChild
impl Clone for DocumentChild
source§fn clone(&self) -> DocumentChild
fn clone(&self) -> DocumentChild
Returns a copy 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 DocumentChild
impl Debug for DocumentChild
source§impl PartialEq for DocumentChild
impl PartialEq for DocumentChild
source§fn eq(&self, other: &DocumentChild) -> bool
fn eq(&self, other: &DocumentChild) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DocumentChild
impl Serialize for DocumentChild
impl StructuralPartialEq for DocumentChild
Auto Trait Implementations§
impl Freeze for DocumentChild
impl RefUnwindSafe for DocumentChild
impl Send for DocumentChild
impl Sync for DocumentChild
impl Unpin for DocumentChild
impl UnwindSafe for DocumentChild
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