pub struct Page {
pub id: Option<ObjectId>,
pub media_box: Option<Rect>,
pub crop_box: Option<Rect>,
pub rotate: i64,
pub resources: Option<Dictionary>,
pub contents: Vec<ObjectId>,
}Expand description
One page, with every inheritable attribute already resolved.
Fields§
§id: Option<ObjectId>The page object’s id, absent when the page dictionary sits directly in
its parent’s /Kids array.
media_box: Option<Rect>Effective /MediaBox, required by the standard for every page.
crop_box: Option<Rect>Effective /CropBox, which defaults to the media box.
rotate: i64Effective /Rotate, normalised to 0, 90, 180 or 270.
resources: Option<Dictionary>Effective /Resources.
contents: Vec<ObjectId>Content stream ids, in the order they are painted.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Page
Auto Trait Implementations§
impl Forget for Page
impl Freeze for Page
impl Move for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnsafeUnpin for Page
impl UnwindSafe for Page
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