pub struct TableGrid {
pub rows: Vec<Vec<String>>,
pub cells: Vec<TableCell>,
}Expand description
A dense table grid plus its first-class cells (#240): rows is the text
grid every serializer renders (spans replicate their anchor’s text);
cells are the docling-parity per-cell records (text, page-point bbox,
span rectangle, OTSL header roles). Produced by the TableFormer paths
(tf_core); lives in this always-compiled module so the pure-text (wasm
pdf-text) build sees the type.
Fields§
§rows: Vec<Vec<String>>§cells: Vec<TableCell>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableGrid
impl RefUnwindSafe for TableGrid
impl Send for TableGrid
impl Sync for TableGrid
impl Unpin for TableGrid
impl UnsafeUnpin for TableGrid
impl UnwindSafe for TableGrid
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more