pub struct SectionIdentifier { /* private fields */ }Expand description
Section identification component
Implementations§
Source§impl SectionIdentifier
impl SectionIdentifier
pub fn new() -> RragResult<Self>
pub async fn identify_sections( &self, content: &DocumentContent, _structure: &DocumentStructure, ) -> RragResult<Vec<DocumentSection>>
Auto Trait Implementations§
impl Freeze for SectionIdentifier
impl RefUnwindSafe for SectionIdentifier
impl Send for SectionIdentifier
impl Sync for SectionIdentifier
impl Unpin for SectionIdentifier
impl UnwindSafe for SectionIdentifier
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