pub struct ParsedPage {
pub page_num: u32,
pub width: f64,
pub height: f64,
pub text: String,
pub text_items: Vec<TextItem>,
pub bounding_boxes: Option<Vec<BoundingBox>>,
}Expand description
Parsed data for a single page.
Fields§
§page_num: u32§width: f64§height: f64§text: String§text_items: Vec<TextItem>§bounding_boxes: Option<Vec<BoundingBox>>Trait Implementations§
Source§impl Clone for ParsedPage
impl Clone for ParsedPage
Source§fn clone(&self) -> ParsedPage
fn clone(&self) -> ParsedPage
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 moreSource§impl Debug for ParsedPage
impl Debug for ParsedPage
Source§impl<'de> Deserialize<'de> for ParsedPage
impl<'de> Deserialize<'de> for ParsedPage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ParsedPage
impl RefUnwindSafe for ParsedPage
impl Send for ParsedPage
impl Sync for ParsedPage
impl Unpin for ParsedPage
impl UnsafeUnpin for ParsedPage
impl UnwindSafe for ParsedPage
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