pub struct ExtractedText {
pub text: String,
pub fragments: Vec<TextFragment>,
}Expand description
Extracted text with position information
Fields§
§text: StringThe extracted text content
fragments: Vec<TextFragment>Text fragments with position information (if preserve_layout is true)
Trait Implementations§
Source§impl Clone for ExtractedText
impl Clone for ExtractedText
Source§fn clone(&self) -> ExtractedText
fn clone(&self) -> ExtractedText
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 ExtractedText
impl RefUnwindSafe for ExtractedText
impl Send for ExtractedText
impl Sync for ExtractedText
impl Unpin for ExtractedText
impl UnwindSafe for ExtractedText
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