pub struct PageOverrideRecord {
pub scope: PageOverrideScope,
pub boxes: PageBoxes,
pub rotate: Option<i32>,
pub additional_actions: Option<PageAdditionalActions>,
}Expand description
One /PAGE (single-page override) or /PAGES (document-wide
default) entry. The writer applies the keys to the per-page dict
at build time; /PAGE wins over /PAGES for any key that’s set
on both, and an explicit /PAGE for page N wins over the implicit
“current page” target.
Fields§
§scope: PageOverrideScopeScope of the override.
boxes: PageBoxes/CropBox, /BleedBox, /TrimBox, /ArtBox rectangles in
default user space — [llx, lly, urx, ury].
rotate: Option<i32>/Rotate — 0, 90, 180, or 270. Other values land here as-is
and are dropped at write time.
additional_actions: Option<PageAdditionalActions>/AA — additional-actions dict. Page-open (/O) fires when
the page becomes visible; page-close (/C) fires when the
user navigates away.
Trait Implementations§
Source§impl Clone for PageOverrideRecord
impl Clone for PageOverrideRecord
Source§fn clone(&self) -> PageOverrideRecord
fn clone(&self) -> PageOverrideRecord
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 PageOverrideRecord
impl RefUnwindSafe for PageOverrideRecord
impl Send for PageOverrideRecord
impl Sync for PageOverrideRecord
impl Unpin for PageOverrideRecord
impl UnsafeUnpin for PageOverrideRecord
impl UnwindSafe for PageOverrideRecord
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