Enum docx_rust::document::BodyContent
source · [−]pub enum BodyContent<'a> {
Paragraph(Paragraph<'a>),
Table(Table<'a>),
Sdt(SDT<'a>),
SectionProperty(SectionProperty<'a>),
}
Expand description
A set of elements that can be contained in the body
Variants
Paragraph(Paragraph<'a>)
Table(Table<'a>)
Sdt(SDT<'a>)
SectionProperty(SectionProperty<'a>)
Trait Implementations
sourceimpl<'a> Clone for BodyContent<'a>
impl<'a> Clone for BodyContent<'a>
sourcefn clone(&self) -> BodyContent<'a>
fn clone(&self) -> BodyContent<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for BodyContent<'a>
impl<'a> Debug for BodyContent<'a>
sourceimpl<'a> From<Paragraph<'a>> for BodyContent<'a>
impl<'a> From<Paragraph<'a>> for BodyContent<'a>
sourcefn from(original: Paragraph<'a>) -> BodyContent<'a>
fn from(original: Paragraph<'a>) -> BodyContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<SDT<'a>> for BodyContent<'a>
impl<'a> From<SDT<'a>> for BodyContent<'a>
sourcefn from(original: SDT<'a>) -> BodyContent<'a>
fn from(original: SDT<'a>) -> BodyContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<SectionProperty<'a>> for BodyContent<'a>
impl<'a> From<SectionProperty<'a>> for BodyContent<'a>
sourcefn from(original: SectionProperty<'a>) -> BodyContent<'a>
fn from(original: SectionProperty<'a>) -> BodyContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<Table<'a>> for BodyContent<'a>
impl<'a> From<Table<'a>> for BodyContent<'a>
sourcefn from(original: Table<'a>) -> BodyContent<'a>
fn from(original: Table<'a>) -> BodyContent<'a>
Converts to this type from the input type.
sourceimpl<'__input: 'a, 'a> XmlRead<'__input> for BodyContent<'a>
impl<'__input: 'a, 'a> XmlRead<'__input> for BodyContent<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for BodyContent<'a>
impl<'a> Send for BodyContent<'a>
impl<'a> Sync for BodyContent<'a>
impl<'a> Unpin for BodyContent<'a>
impl<'a> UnwindSafe for BodyContent<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more