Struct gif::reader::ReadDecoder
source · struct ReadDecoder<R: Read> {
reader: BufReader<R>,
decoder: StreamingDecoder,
at_eof: bool,
}
Fields§
§reader: BufReader<R>
§decoder: StreamingDecoder
§at_eof: bool
Implementations§
source§impl<R: Read> ReadDecoder<R>
impl<R: Read> ReadDecoder<R>
fn decode_next( &mut self, write_into: &mut OutputBuffer<'_>, ) -> Result<Option<Decoded>, DecodingError>
fn into_inner(self) -> BufReader<R>
fn decode_next_bytes( &mut self, out: &mut OutputBuffer<'_>, ) -> Result<usize, DecodingError>
Auto Trait Implementations§
impl<R> Freeze for ReadDecoder<R>where
R: Freeze,
impl<R> !RefUnwindSafe for ReadDecoder<R>
impl<R> Send for ReadDecoder<R>where
R: Send,
impl<R> !Sync for ReadDecoder<R>
impl<R> Unpin for ReadDecoder<R>where
R: Unpin,
impl<R> !UnwindSafe for ReadDecoder<R>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more