Skip to content

Commit

Permalink
Impl Hash for FilterType
Browse files Browse the repository at this point in the history
  • Loading branch information
Keats authored and kornelski committed Oct 11, 2024
1 parent d4a0d26 commit 02a4928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imageops/sample.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ use crate::{ImageBuffer, Rgba32FImage};
/// <td>1170 ms</td>
/// </tr>
/// </table>
#[derive(Clone, Copy, Debug, PartialEq)]
#[derive(Clone, Copy, Debug, PartialEq, Hash)]
pub enum FilterType {
/// Nearest Neighbor
Nearest,
Expand Down

0 comments on commit 02a4928

Please sign in to comment.