pub fn into_reader(mut self) -> R {
        let mut stream: Option<InputStream<R>> = None;
        std::mem::swap(&mut stream, &mut self.stream);
        stream.unwrap().into_reader()
    }
///
/// Free the image decoder and return the input reader.
/// Only needed if you want to reuse the same reader struct
/// on something else, but it feels so Rustic!
///
Free the image decoder and return the input reader.
Only needed if you want to reuse the same reader struct
on something else, but it feels so Rustic!
Free the image decoder and return the input reader . Only needed if you want to reuse the same reader struct on something else but it feels so Rustic!
pub fn into_reader(mut self) -> R {
        let mut stream: Option<InputStream<R>> = None;
        std::mem::swap(&mut stream, &mut self.stream);
        stream.unwrap().into_reader()
    }
pub fn into_reader ( mut self ) -> R { let mut stream : Option < InputStream < R > > = None ; std :: mem :: swap ( & mut stream , & mut self . stream ) ; stream . unwrap ( ) . into_reader ( ) }
Free the image decoder and return the input reader.
Free the image decoder and return the input reader .
mut self
mut self