pub struct Page {
pub size: PageSize,
pub rotation: i32,
pub canvas: Canvas,
pub content: Vec<Content>,
pub links: Vec<LinkAnnotation>,
}Expand description
One page: its size, rotation, painted content and link annotations.
Fields§
§size: PageSizePage size (the /MediaBox).
rotation: i32Clockwise view rotation in degrees; must be a multiple of 90.
canvas: CanvasThe page’s painted content.
content: Vec<Content>Composed elements, painted onto canvas at assemble time, after
any content already painted there directly.
links: Vec<LinkAnnotation>Clickable link areas, emitted as /Annots.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Page
impl !Sync for Page
impl !UnwindSafe for Page
impl Freeze for Page
impl Send for Page
impl Unpin for Page
impl UnsafeUnpin for Page
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