We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c7f117 commit a972bd1Copy full SHA for a972bd1
src/io/decoder.rs
@@ -117,6 +117,7 @@ pub trait ImageDecoder {
117
fn read_image_boxed(self: Box<Self>, buf: &mut [u8]) -> ImageResult<()>;
118
}
119
120
+#[deny(clippy::missing_trait_methods)]
121
impl<T: ?Sized + ImageDecoder> ImageDecoder for Box<T> {
122
fn dimensions(&self) -> (u32, u32) {
123
(**self).dimensions()
@@ -133,6 +134,9 @@ impl<T: ?Sized + ImageDecoder> ImageDecoder for Box<T> {
133
134
fn exif_metadata(&mut self) -> ImageResult<Option<Vec<u8>>> {
135
(**self).exif_metadata()
136
137
+ fn orientation(&mut self) -> ImageResult<Orientation> {
138
+ (**self).orientation()
139
+ }
140
fn total_bytes(&self) -> u64 {
141
(**self).total_bytes()
142
0 commit comments