pub struct DetectedTable {
pub top_y: f32,
pub bottom_y: f32,
pub left_x: f32,
pub right_x: f32,
pub columns: Vec<f32>,
pub rows: Vec<TableRowData>,
}Expand description
A detected table region with its content.
Fields§
§top_y: f32Starting Y coordinate (top of table, in PDF coords)
bottom_y: f32Ending Y coordinate (bottom of table)
left_x: f32Left X boundary
right_x: f32Right X boundary
columns: Vec<f32>Detected column boundaries (X coordinates)
rows: Vec<TableRowData>Rows of text spans grouped by Y position
Trait Implementations§
Source§impl Clone for DetectedTable
impl Clone for DetectedTable
Source§fn clone(&self) -> DetectedTable
fn clone(&self) -> DetectedTable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DetectedTable
impl RefUnwindSafe for DetectedTable
impl Send for DetectedTable
impl Sync for DetectedTable
impl Unpin for DetectedTable
impl UnwindSafe for DetectedTable
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
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