pub struct TableCell<'a> {
pub property: TableCellProperty,
pub content: Vec<TableCellContent<'a>>,
}
Expand description
Table Cell
use docx::document::*;
use docx::formatting::*;
let cell = TableCell::from(Paragraph::default());
let cell = TableCell::pargraph(Paragraph::default())
.property(TableCellProperty::default());
Fields
property: TableCellProperty
content: Vec<TableCellContent<'a>>
Implementations
Trait Implementations
sourceimpl<'a, T: Into<TableCellContent<'a>>> From<T> for TableCell<'a>
impl<'a, T: Into<TableCellContent<'a>>> From<T> for TableCell<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for TableCell<'a>
impl<'a> Send for TableCell<'a>
impl<'a> Sync for TableCell<'a>
impl<'a> Unpin for TableCell<'a>
impl<'a> UnwindSafe for TableCell<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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