pub struct Page {
pub id: Option<ObjId>,
pub dict: Dict,
pub media_box: Rect,
pub crop_box: Rect,
pub rotate: u16,
pub resources: Option<Dict>,
}Expand description
One page, with inherited attributes resolved.
Fields§
§id: Option<ObjId>The page object’s id, or None for a direct page dictionary in a
/Kids array (invalid, but tolerated).
dict: DictThe page dictionary.
media_box: Rect/MediaBox, inherited, defaulting to US Letter.
crop_box: Rect/CropBox, inherited, clipped to the media box; defaults to it.
rotate: u16/Rotate, inherited, normalized to 0, 90, 180 or 270.
resources: Option<Dict>/Resources, inherited and resolved, if any.
Trait Implementations§
impl StructuralPartialEq for Page
Auto Trait Implementations§
impl Freeze 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