Skip to main content

matches

Function matches 

Source
pub fn matches(
    a: &[u8],
    b: &[u8],
    width: usize,
) -> Result<(), Option<Difference>>
Expand description

Whether two RGBA buffers width pixels wide are the same drawing within the tolerance; otherwise how they differ, or None for different sizes.