pub struct TableGrid {
pub rows: Vec<Vec<String>>,
pub boxes: Vec<Vec<Option<[f32; 4]>>>,
}Expand description
A dense table grid plus per-cell geometry, aligned position-for-position:
boxes[r][c] is cell (r, c)’s [l, t, r, b] in page points (top-left
origin); a spanned cell repeats its anchor’s box over the covered
positions. Produced by the TableFormer paths (tf_core), consumed here
into docling_core::Table::cell_boxes (#238). Lives in this always-
compiled module so the pure-text (wasm pdf-text) build sees the type.
Fields§
§rows: Vec<Vec<String>>§boxes: Vec<Vec<Option<[f32; 4]>>>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