pub struct DocExtras {
pub annotations: Vec<Annot>,
pub destinations: Vec<NamedDest>,
pub outline: Vec<OutlineEntry>,
pub page_graphics: Vec<Vec<GraphicsElem>>,
pub doc_info: Option<DocInfo>,
}Expand description
Everything the PDF writers need beyond pages/images.
Fields§
§annotations: Vec<Annot>§destinations: Vec<NamedDest>§outline: Vec<OutlineEntry>§page_graphics: Vec<Vec<GraphicsElem>>One overlay per page (may be shorter than pages; missing = empty):
deco graphics fired at placement time, absolute PDF y-up coordinates,
drawn UNDER the page’s text (background fills/borders).
doc_info: Option<DocInfo>register-document-information’s registered value, None when
never called (both PDF writers gate the whole /Info dict emission
on this — every document that never calls
register-document-information stays byte-identical).
Trait Implementations§
impl StructuralPartialEq for DocExtras
Auto Trait Implementations§
impl Freeze for DocExtras
impl RefUnwindSafe for DocExtras
impl Send for DocExtras
impl Sync for DocExtras
impl Unpin for DocExtras
impl UnsafeUnpin for DocExtras
impl UnwindSafe for DocExtras
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