pub struct PageGraph {
pub pages: Vec<Page>,
pub images: Vec<ImageHandle>,
pub outline: Vec<OutlineEntry>,
}Expand description
The paginated output graph (manifest §6 stage 7).
Fields§
§pages: Vec<Page>§images: Vec<ImageHandle>Master list of every unique image referenced anywhere in
pages, ordered by ImageHandle::id. The PDF backend walks
this once to emit XObjects; per-page ImagePlacement::handle
references are just thin pointers into the same table.
outline: Vec<OutlineEntry>Bookmark/outline entries in document order (issue: PDF outlines).
Empty when the document has no headings; the PDF backend then
emits no /Outlines tree. Lives on PageGraph because emit
consumes only graph.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PageGraph
impl RefUnwindSafe for PageGraph
impl Send for PageGraph
impl Sync for PageGraph
impl Unpin for PageGraph
impl UnsafeUnpin for PageGraph
impl UnwindSafe for PageGraph
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.