pub struct ScreenshotClip {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
}Expand description
Fields§
§x: f64X coordinate of clip region origin
y: f64Y coordinate of clip region origin
width: f64Width of clip region
height: f64Height of clip region
Trait Implementations§
Source§impl Clone for ScreenshotClip
impl Clone for ScreenshotClip
Source§fn clone(&self) -> ScreenshotClip
fn clone(&self) -> ScreenshotClip
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScreenshotClip
impl Debug for ScreenshotClip
Source§impl PartialEq for ScreenshotClip
impl PartialEq for ScreenshotClip
Source§impl Serialize for ScreenshotClip
impl Serialize for ScreenshotClip
impl Copy 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 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