pub struct Word {
pub text: String,
pub bbox: BBox,
pub doctop: f64,
pub direction: TextDirection,
pub chars: Vec<Char>,
}Expand description
A word extracted from a PDF page.
Fields§
§text: StringThe text content of this word.
bbox: BBoxBounding box encompassing all constituent characters.
doctop: f64Distance from the top of the first page (minimum doctop of constituent chars).
direction: TextDirectionText direction for this word.
chars: Vec<Char>The characters that make up this word.
Trait Implementations§
impl StructuralPartialEq for Word
Auto Trait Implementations§
impl Freeze for Word
impl RefUnwindSafe for Word
impl Send for Word
impl Sync for Word
impl Unpin for Word
impl UnsafeUnpin for Word
impl UnwindSafe for Word
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