pub struct PageSize {
pub width: f32,
pub height: f32,
}Expand description
Page dimensions in points (1/72 inch), after applying the page’s
/Rotate entry (PDFium’s FPDF_GetPageWidthF/HeightF semantics: a
portrait page with /Rotate 90 reports landscape dimensions).
Fields§
§width: f32Width in points (1/72 inch).
height: f32Height in points (1/72 inch).
Trait Implementations§
impl Copy for PageSize
impl StructuralPartialEq for PageSize
Auto Trait Implementations§
impl Freeze for PageSize
impl RefUnwindSafe for PageSize
impl Send for PageSize
impl Sync for PageSize
impl Unpin for PageSize
impl UnsafeUnpin for PageSize
impl UnwindSafe for PageSize
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