pub struct PageFrame {
pub page_number: usize,
pub width: f64,
pub height: f64,
pub elements: Vec<PositionedElement>,
}Expand description
A single page of laid-out content.
Fields§
§page_number: usize1-based page number.
width: f64Page width in points.
height: f64Page height in points.
elements: Vec<PositionedElement>All positioned elements on this page.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PageFrame
impl RefUnwindSafe for PageFrame
impl Send for PageFrame
impl Sync for PageFrame
impl Unpin for PageFrame
impl UnsafeUnpin for PageFrame
impl UnwindSafe for PageFrame
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