Skip to content

Commit 9e4ffd5

Browse files
committed
Non-exhaustive ColorTransform
1 parent 22ad950 commit 9e4ffd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/decoder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ pub struct ImageInfo {
7676

7777
/// Describes the colour transform to apply before binary data is returned
7878
#[derive(Debug, Clone, Copy)]
79+
#[non_exhaustive]
7980
pub enum ColorTransform {
8081
/// No transform should be applied and the data is returned as-is.
8182
None,

0 commit comments

Comments
 (0)