pub struct ConvertedPage {
pub index: usize,
pub label: Option<String>,
pub width_points: f64,
pub height_points: f64,
pub rotation: i32,
pub text: String,
pub images: Vec<ConvertedImage>,
}Expand description
Extracted content and metadata for one PDF page.
Fields§
§index: usizeZero-based physical page index in the source PDF.
label: Option<String>Printed page label from /PageLabels, when present in rich mode.
width_points: f64§height_points: f64§rotation: i32§text: String§images: Vec<ConvertedImage>Empty in text-only mode.
Trait Implementations§
Source§impl Clone for ConvertedPage
impl Clone for ConvertedPage
Source§fn clone(&self) -> ConvertedPage
fn clone(&self) -> ConvertedPage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConvertedPage
impl RefUnwindSafe for ConvertedPage
impl Send for ConvertedPage
impl Sync for ConvertedPage
impl Unpin for ConvertedPage
impl UnsafeUnpin for ConvertedPage
impl UnwindSafe for ConvertedPage
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