pub struct TableCell {
pub children: Vec<TableCellContent>,
pub property: TableCellProperty,
pub has_numbering: bool,
}
Fields
children: Vec<TableCellContent>
property: TableCellProperty
has_numbering: bool
Implementations
sourceimpl TableCell
impl TableCell
pub fn new() -> TableCell
pub fn add_paragraph(self, p: Paragraph) -> TableCell
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
sourceimpl ElementReader for TableCell
impl ElementReader for TableCell
fn read<R: Read>(
r: &mut EventReader<R>,
_: &[OwnedAttribute]
) -> Result<Self, ReaderError>
sourceimpl PartialEq<TableCell> for TableCell
impl PartialEq<TableCell> for TableCell
impl StructuralPartialEq for TableCell
Auto Trait Implementations
impl RefUnwindSafe for TableCell
impl Send for TableCell
impl Sync for TableCell
impl Unpin for TableCell
impl UnwindSafe for TableCell
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