pub struct PixelRect {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}Expand description
A rectangle in the output pixel space of the whole page at the request’s scale and rotation, top-left origin, y down.
Added in 0.2.0.
Fields§
§x: u32Left edge.
y: u32Top edge.
width: u32Width in pixels.
height: u32Height in pixels.
Trait Implementations§
impl Copy for PixelRect
impl Eq for PixelRect
impl StructuralPartialEq for PixelRect
Auto Trait Implementations§
impl Forget for PixelRect
impl Freeze for PixelRect
impl Move for PixelRect
impl RefUnwindSafe for PixelRect
impl Send for PixelRect
impl Sync for PixelRect
impl Unpin for PixelRect
impl UnsafeUnpin for PixelRect
impl UnwindSafe for PixelRect
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