pub struct TableCell {
pub children: Vec<TableCellContent>,
pub property: TableCellProperty,
pub has_numbering: bool,
}
Fields§
§children: Vec<TableCellContent>
§property: TableCellProperty
§has_numbering: bool
Implementations§
Source§impl TableCell
impl TableCell
pub fn new() -> TableCell
pub fn add_paragraph(self, p: Paragraph) -> TableCell
pub fn add_table_of_contents(self, t: TableOfContents) -> Self
pub fn add_structured_data_tag(self, t: StructuredDataTag) -> Self
pub fn add_table(self, t: Table) -> TableCell
pub fn vertical_merge(self, t: VMergeType) -> TableCell
pub fn shading(self, s: Shading) -> TableCell
pub fn vertical_align(self, t: VAlignType) -> TableCell
pub fn text_direction(self, t: TextDirectionType) -> TableCell
pub fn grid_span(self, v: usize) -> TableCell
pub fn width(self, v: usize, t: WidthType) -> TableCell
pub fn set_border(self, border: TableCellBorder) -> Self
pub fn set_borders(self, borders: TableCellBorders) -> Self
pub fn clear_border(self, position: TableCellBorderPosition) -> Self
pub fn clear_all_border(self) -> Self
Trait Implementations§
Source§impl ElementReader for TableCell
impl ElementReader for TableCell
fn read<R: Read>( r: &mut EventReader<R>, _: &[OwnedAttribute], ) -> Result<Self, ReaderError>
impl StructuralPartialEq for TableCell
Auto Trait Implementations§
impl Freeze for TableCell
impl RefUnwindSafe for TableCell
impl Send for TableCell
impl Sync for TableCell
impl Unpin for TableCell
impl UnwindSafe for TableCell
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