pub struct ScreenshotClip {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
}Expand description
A clip rectangle for screenshots.
Fields§
§x: f64§y: f64§width: f64§height: f64Trait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScreenshotClip
Source§impl Debug for ScreenshotClip
impl Debug for ScreenshotClip
Source§impl Default for ScreenshotClip
impl Default for ScreenshotClip
Source§fn default() -> ScreenshotClip
fn default() -> ScreenshotClip
Returns the “default value” for a type. Read more
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