pub struct PdfPage {
pub media_box_x: i32,
pub media_box_y: i32,
pub media_box_width: i32,
pub media_box_height: i32,
pub content_stream: Vec<u8>,
pub resources: BTreeMap<String, PdfObject>,
}Expand description
A single PDF page with its content and media box.
Fields§
§media_box_x: i32Media box: x, y, width, height (integer coordinates).
media_box_y: i32§media_box_width: i32§media_box_height: i32§content_stream: Vec<u8>Raw content stream bytes.
resources: BTreeMap<String, PdfObject>Resource dictionary.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PdfPage
impl RefUnwindSafe for PdfPage
impl Send for PdfPage
impl Sync for PdfPage
impl Unpin for PdfPage
impl UnwindSafe for PdfPage
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)