pub struct TextChunk {
pub text: String,
pub x: f64,
pub y: f64,
pub font_size: f64,
pub font_name: Option<String>,
}Expand description
A chunk of extracted text with position information
Fields§
§text: StringThe extracted text
x: f64X position on the page
y: f64Y position on the page
font_size: f64Font size
font_name: Option<String>Font name (if known)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextChunk
impl RefUnwindSafe for TextChunk
impl Send for TextChunk
impl Sync for TextChunk
impl Unpin for TextChunk
impl UnwindSafe for TextChunk
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