pub struct ClipRegion {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
}Expand description
Clip region for screenshots.
Fields§
§x: f64X coordinate.
y: f64Y coordinate.
width: f64Width.
height: f64Height.
Implementations§
Trait Implementations§
Source§impl Clone for ClipRegion
impl Clone for ClipRegion
Source§fn clone(&self) -> ClipRegion
fn clone(&self) -> ClipRegion
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 ClipRegion
impl Debug for ClipRegion
impl Copy for ClipRegion
Auto Trait Implementations§
impl Freeze for ClipRegion
impl RefUnwindSafe for ClipRegion
impl Send for ClipRegion
impl Sync for ClipRegion
impl Unpin for ClipRegion
impl UnwindSafe for ClipRegion
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