pub struct TableCell {
pub text: String,
pub spans: Vec<TextSpan>,
pub colspan: u32,
pub rowspan: u32,
pub mcids: Vec<u32>,
pub bbox: Option<Rect>,
pub is_header: bool,
}Expand description
A single cell in a table.
Fields§
§text: StringText content of the cell
spans: Vec<TextSpan>Original text spans that make up this cell’s content, with font/style metadata preserved for format-aware rendering.
colspan: u32Number of columns this cell spans (default 1)
rowspan: u32Number of rows this cell spans (default 1)
mcids: Vec<u32>MCID values that make up this cell’s content
bbox: Option<Rect>Bounding box of the cell
is_header: boolWhether this is a header cell
Implementations§
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