pub trait DiffImage {
// Required method
fn diff_inplace(&mut self, other: &Self);
}Expand description
Image types that can be diffed.
Required Methods§
Sourcefn diff_inplace(&mut self, other: &Self)
fn diff_inplace(&mut self, other: &Self)
Subtract the pixel values of other from self in-place.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.