pub struct TextExtractor;Expand description
Exact UTF-8 text ranges, preserving whitespace, Markdown and source code.
Trait Implementations§
Source§impl Debug for TextExtractor
impl Debug for TextExtractor
Source§impl Default for TextExtractor
impl Default for TextExtractor
Source§impl Extractor for TextExtractor
impl Extractor for TextExtractor
fn supports( &self, _source: &ResourceId, locator: &ResourceLocator, metadata: &ResourceMetadata, ) -> bool
fn extract( &self, bytes: &[u8], source: &ResourceId, locator: &ResourceLocator, metadata: &ResourceMetadata, ) -> Result<ExtractedContent>
Auto Trait Implementations§
impl Freeze for TextExtractor
impl RefUnwindSafe for TextExtractor
impl Send for TextExtractor
impl Sync for TextExtractor
impl Unpin for TextExtractor
impl UnsafeUnpin for TextExtractor
impl UnwindSafe for TextExtractor
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