pub struct RawPdfDocument {
pub document: Document,
pub num_pages: u32,
pub metadata: PdfMetadata,
}Expand description
Raw loaded PDF document with page data.
Fields§
§document: DocumentThe lopdf Document handle
num_pages: u32Number of pages
metadata: PdfMetadataDocument metadata
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawPdfDocument
impl !RefUnwindSafe for RawPdfDocument
impl Send for RawPdfDocument
impl Sync for RawPdfDocument
impl Unpin for RawPdfDocument
impl UnsafeUnpin for RawPdfDocument
impl !UnwindSafe for RawPdfDocument
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more