pub struct TableCell<'a> {
pub property: TableCellProperty,
pub content: Vec<TableCellContent<'a>>,
}
Expand description
Table Cell
use docx_rust::document::*;
use docx_rust::formatting::*;
let cell = TableCell::from(Paragraph::default());
let cell = TableCell::paragraph(Paragraph::default())
.property(TableCellProperty::default());
Fields§
§property: TableCellProperty
§content: Vec<TableCellContent<'a>>
Implementations§
Trait Implementations§
source§impl<'a> From<TableCell<'a>> for BodyContent<'a>
impl<'a> From<TableCell<'a>> for BodyContent<'a>
source§fn from(original: TableCell<'a>) -> BodyContent<'a>
fn from(original: TableCell<'a>) -> BodyContent<'a>
Converts to this type from the input type.