pub struct TextBoxContent {
pub children: Vec<TextBoxContentChild>,
pub has_numbering: bool,
}
Fields§
§children: Vec<TextBoxContentChild>
§has_numbering: bool
Implementations§
Source§impl 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§
Source§impl Clone for TextBoxContent
impl Clone for TextBoxContent
Source§fn clone(&self) -> TextBoxContent
fn clone(&self) -> TextBoxContent
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 TextBoxContent
impl Debug for TextBoxContent
Source§impl Default for TextBoxContent
impl Default for TextBoxContent
Source§impl ElementReader for TextBoxContent
impl ElementReader for TextBoxContent
fn read<R: Read>( r: &mut EventReader<R>, _attrs: &[OwnedAttribute], ) -> Result<Self, ReaderError>
Source§impl PartialEq for TextBoxContent
impl PartialEq for TextBoxContent
Source§impl Serialize for TextBoxContent
impl Serialize for TextBoxContent
impl StructuralPartialEq for TextBoxContent
Auto Trait Implementations§
impl Freeze for TextBoxContent
impl RefUnwindSafe for TextBoxContent
impl Send for TextBoxContent
impl Sync for TextBoxContent
impl Unpin for TextBoxContent
impl UnwindSafe for TextBoxContent
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