Skip to content

Commit

Permalink
Merge pull request #1248 from soruh/soruh/add-derives-to-ImageBuffer
Browse files Browse the repository at this point in the history
Add derives for `Hash`, `PartialEq` and `Eq`.
  • Loading branch information
HeroicKatora committed Jun 3, 2020
2 parents bd3ec50 + 3c7c2ff commit 2276d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buffer.rs
Expand Up @@ -449,7 +449,7 @@ where
///
/// image::imageops::overlay(&mut img, &on_top, 128, 128);
/// ```
#[derive(Debug)]
#[derive(Debug, Hash, PartialEq, Eq)]
pub struct ImageBuffer<P: Pixel, Container> {
width: u32,
height: u32,
Expand Down

0 comments on commit 2276d72

Please sign in to comment.