pub struct PageRect {
pub left: f64,
pub bottom: f64,
pub right: f64,
pub top: f64,
}Expand description
An axis-aligned rectangle in page space.
Follows PDF conventions: bottom <= top and left <= right when
normalized (y-up).
Fields§
§left: f64Smallest x edge, in points.
bottom: f64Smallest y edge, in points (page space is y-up).
right: f64Largest x edge, in points.
top: f64Largest y edge, in points.
Implementations§
Trait Implementations§
impl Copy for PageRect
impl StructuralPartialEq for PageRect
Auto Trait Implementations§
impl Freeze for PageRect
impl RefUnwindSafe for PageRect
impl Send for PageRect
impl Sync for PageRect
impl Unpin for PageRect
impl UnsafeUnpin for PageRect
impl UnwindSafe for PageRect
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