Skip to content

Commit 661fd5f

Browse files
Make ResizeFilter enum non-exhaustive (image-rs#101)
1 parent 9f7c438 commit 661fd5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/encoder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ impl<W> Encoder<W> {
293293
///
294294
/// - [`MipmapOptions::resize_filter`]
295295
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
296+
#[non_exhaustive]
296297
pub enum ResizeFilter {
297298
/// Nearest neighbor interpolation (=point filtering).
298299
Nearest,

0 commit comments

Comments
 (0)