pub struct ScreenshotClip {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
}Expand description
A capture region in CSS pixels of the page. x and y are at least zero; width and
height are positive.
Fields§
§x: f64§y: f64§width: f64§height: f64Trait Implementations§
Source§impl Clone for ScreenshotClip
impl Clone for ScreenshotClip
impl Copy for ScreenshotClip
Source§impl Debug for ScreenshotClip
impl Debug for ScreenshotClip
Source§impl PartialEq for ScreenshotClip
impl PartialEq for ScreenshotClip
impl StructuralPartialEq for ScreenshotClip
Auto Trait Implementations§
impl Freeze for ScreenshotClip
impl RefUnwindSafe for ScreenshotClip
impl Send for ScreenshotClip
impl Sync for ScreenshotClip
impl Unpin for ScreenshotClip
impl UnsafeUnpin for ScreenshotClip
impl UnwindSafe for ScreenshotClip
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