pub struct SectionAnalyzer { /* private fields */ }Expand description
Section analysis component
Implementations§
Source§impl SectionAnalyzer
impl SectionAnalyzer
Sourcepub fn new() -> RragResult<Self>
pub fn new() -> RragResult<Self>
Create new section analyzer
Sourcepub fn analyze_sections(&self, text: &str) -> RragResult<Vec<DocumentSection>>
pub fn analyze_sections(&self, text: &str) -> RragResult<Vec<DocumentSection>>
Analyze document sections
Auto Trait Implementations§
impl Freeze for SectionAnalyzer
impl RefUnwindSafe for SectionAnalyzer
impl Send for SectionAnalyzer
impl Sync for SectionAnalyzer
impl Unpin for SectionAnalyzer
impl UnwindSafe for SectionAnalyzer
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