Struct docx_rs::TextBoxContent
source · [−]pub struct TextBoxContent {
pub children: Vec<TextBoxContentChild>,
pub has_numbering: bool,
}
Fields
children: Vec<TextBoxContentChild>
has_numbering: bool
Implementations
sourceimpl TextBoxContent
impl TextBoxContent
pub fn new() -> TextBoxContent
pub fn add_paragraph(self, p: Paragraph) -> Self
pub fn add_table(self, t: Table) -> Self
Trait Implementations
sourceimpl Clone for TextBoxContent
impl Clone for TextBoxContent
sourcefn clone(&self) -> TextBoxContent
fn clone(&self) -> TextBoxContent
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 Debug for TextBoxContent
impl Debug for TextBoxContent
sourceimpl Default for TextBoxContent
impl Default for TextBoxContent
sourceimpl ElementReader for TextBoxContent
impl ElementReader for TextBoxContent
fn read<R: Read>(
r: &mut EventReader<R>,
_attrs: &[OwnedAttribute]
) -> Result<Self, ReaderError>
sourceimpl PartialEq<TextBoxContent> for TextBoxContent
impl PartialEq<TextBoxContent> for TextBoxContent
sourcefn eq(&self, other: &TextBoxContent) -> bool
fn eq(&self, other: &TextBoxContent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for TextBoxContent
impl Serialize for TextBoxContent
impl StructuralPartialEq for TextBoxContent
Auto Trait Implementations
impl RefUnwindSafe for TextBoxContent
impl Send for TextBoxContent
impl Sync for TextBoxContent
impl Unpin for TextBoxContent
impl UnwindSafe for TextBoxContent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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