pub struct TableDetector { /* private fields */ }Expand description
Main table detector.
Implementations§
Source§impl TableDetector
impl TableDetector
Sourcepub fn new(config: TableDetectionConfig) -> Self
pub fn new(config: TableDetectionConfig) -> Self
Creates a new table detector with the given configuration.
Sourcepub fn detect(
&self,
graphics: &ExtractedGraphics,
text_fragments: &[TextFragment],
) -> Result<Vec<DetectedTable>, TableDetectionError>
pub fn detect( &self, graphics: &ExtractedGraphics, text_fragments: &[TextFragment], ) -> Result<Vec<DetectedTable>, TableDetectionError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableDetector
impl RefUnwindSafe for TableDetector
impl Send for TableDetector
impl Sync for TableDetector
impl Unpin for TableDetector
impl UnsafeUnpin for TableDetector
impl UnwindSafe for TableDetector
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