pub struct PdfPage {
pub size: Size,
pub ops: Vec<DrawOp>,
}Expand description
One page of a PDF Toolkit::render_pdf writes: the page size in PDF points (1/72 inch,
the same unit as canvas points) and the ops to replay onto it, origin top-left.
Fields§
§size: Size§ops: Vec<DrawOp>Trait Implementations§
impl StructuralPartialEq for PdfPage
Auto Trait Implementations§
impl Freeze for PdfPage
impl RefUnwindSafe for PdfPage
impl Send for PdfPage
impl Sync for PdfPage
impl Unpin for PdfPage
impl UnsafeUnpin for PdfPage
impl UnwindSafe for PdfPage
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