pub struct Page {
pub size: PageSize,
pub rotation: i32,
pub canvas: Canvas,
}Expand description
One page: its size, rotation and painted content.
Fields§
§size: PageSizePage size (the /MediaBox).
rotation: i32Clockwise view rotation in degrees; must be a multiple of 90.
canvas: CanvasThe page’s painted content.
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