pub struct Page {
pub size: PageSize,
pub rotation: i32,
pub canvas: Canvas,
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.
links: Vec<LinkAnnotation>Clickable link areas, emitted as /Annots.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnsafeUnpin for Page
impl UnwindSafe 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