pub struct TfCell {
pub bbox: [f64; 4],
pub cell_id: usize,
pub row_id: usize,
pub column_id: usize,
pub cell_class: i64,
pub colspan_val: usize,
pub rowspan_val: usize,
}Expand description
docling’s table_cell dict: an OTSL grid cell with its predicted box in
the matching coordinate space. colspan_val/rowspan_val are 0 when the
cell has no span (the dict key is absent in docling).
Fields§
§bbox: [f64; 4]§cell_id: usize§row_id: usize§column_id: usize§cell_class: i64§colspan_val: usize§rowspan_val: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for TfCell
impl RefUnwindSafe for TfCell
impl Send for TfCell
impl Sync for TfCell
impl Unpin for TfCell
impl UnsafeUnpin for TfCell
impl UnwindSafe for TfCell
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