pub struct DiffRegion {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
pub intensity: f64,
}Expand description
Region where images differ
Fields§
§x: u32X position
y: u32Y position
width: u32Width
height: u32Height
intensity: f64Difference intensity (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for DiffRegion
impl Clone for DiffRegion
Source§fn clone(&self) -> DiffRegion
fn clone(&self) -> DiffRegion
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 moreAuto Trait Implementations§
impl Freeze for DiffRegion
impl RefUnwindSafe for DiffRegion
impl Send for DiffRegion
impl Sync for DiffRegion
impl Unpin for DiffRegion
impl UnsafeUnpin for DiffRegion
impl UnwindSafe for DiffRegion
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