pub struct MaskRegion {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}Expand description
A rectangular region to exclude from pixel comparison.
Fields§
§x: u32X coordinate of the top-left corner.
y: u32Y coordinate of the top-left corner.
width: u32Width of the region.
height: u32Height of the region.
Implementations§
Trait Implementations§
Source§impl Clone for MaskRegion
impl Clone for MaskRegion
Source§fn clone(&self) -> MaskRegion
fn clone(&self) -> MaskRegion
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 moreAuto Trait Implementations§
impl Freeze for MaskRegion
impl RefUnwindSafe for MaskRegion
impl Send for MaskRegion
impl Sync for MaskRegion
impl Unpin for MaskRegion
impl UnsafeUnpin for MaskRegion
impl UnwindSafe for MaskRegion
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