pub struct TableCell {Show 13 fields
pub paragraphs: Vec<ParagraphBlock>,
pub width: f64,
pub height: f64,
pub grid_span: u32,
pub is_vmerge_continue: bool,
pub col_index: usize,
pub borders: Option<CT_TblBorders>,
pub shading: Option<Color>,
pub margin_left: f64,
pub margin_top: f64,
pub is_first_row: bool,
pub is_last_row: bool,
pub v_align: Option<ST_VerticalJc>,
}Expand description
A laid-out table cell.
Fields§
§paragraphs: Vec<ParagraphBlock>Cell content (paragraph blocks).
width: f64Cell width in points (may span multiple grid columns).
height: f64Cell height in points (set to row height).
grid_span: u32Number of grid columns this cell spans.
is_vmerge_continue: boolWhether this cell is part of a vertical merge continuation (render no content).
col_index: usizeColumn index in the grid.
borders: Option<CT_TblBorders>Cell-level borders.
shading: Option<Color>Cell background shading color.
margin_left: f64Cell margin left in points.
margin_top: f64Cell margin top in points.
is_first_row: boolWhether this cell is in the first row.
is_last_row: boolWhether this cell is in the last row.
v_align: Option<ST_VerticalJc>Vertical alignment of content within the cell.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableCell
impl RefUnwindSafe for TableCell
impl Send for TableCell
impl Sync for TableCell
impl Unpin for TableCell
impl UnsafeUnpin 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