pub struct LayoutResult {
pub pages: Vec<PageFrame>,
pub fonts: Vec<FontData>,
pub metadata: Option<DocumentMetadata>,
pub outlines: Vec<OutlineEntry>,
}Expand description
The complete result of laying out a document.
Fields§
§pages: Vec<PageFrame>Laid-out pages.
fonts: Vec<FontData>Font data for all fonts used.
metadata: Option<DocumentMetadata>Optional document metadata for PDF output.
outlines: Vec<OutlineEntry>Outline/bookmark entries from headings.
Trait Implementations§
Source§impl Clone for LayoutResult
impl Clone for LayoutResult
Source§fn clone(&self) -> LayoutResult
fn clone(&self) -> LayoutResult
Returns a duplicate of the value. Read more
1.0.0 · 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 LayoutResult
impl RefUnwindSafe for LayoutResult
impl Send for LayoutResult
impl Sync for LayoutResult
impl Unpin for LayoutResult
impl UnsafeUnpin for LayoutResult
impl UnwindSafe for LayoutResult
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