#[non_exhaustive]pub struct TableCell {
pub row: usize,
pub column: usize,
pub bbox: BoundingBox,
pub text: String,
pub has_borders: bool,
pub row_span: usize,
pub col_span: usize,
}Expand description
A single cell in a detected table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.row: usizeRow index (0-based)
column: usizeColumn index (0-based)
bbox: BoundingBoxCell bounding box
text: StringText content in the cell
has_borders: boolWhether this cell has borders
row_span: usizeNumber of base rows this cell spans (>= 1).
col_span: usizeNumber of base columns this cell spans (>= 1).
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