pub struct ApngDecoder<R: Read> { /* private fields */ }
Expand description
An AnimationDecoder
adapter of PngDecoder
.
See PngDecoder::apng
for more information.
Trait Implementations
sourceimpl<'a, R: Read + 'a> AnimationDecoder<'a> for ApngDecoder<R>
impl<'a, R: Read + 'a> AnimationDecoder<'a> for ApngDecoder<R>
sourcefn into_frames(self) -> Frames<'a>ⓘNotable traits for Frames<'a>impl<'a> Iterator for Frames<'a> type Item = ImageResult<Frame>;
fn into_frames(self) -> Frames<'a>ⓘNotable traits for Frames<'a>impl<'a> Iterator for Frames<'a> type Item = ImageResult<Frame>;
Consume the decoder producing a series of frames.
Auto Trait Implementations
impl<R> RefUnwindSafe for ApngDecoder<R> where
R: RefUnwindSafe,
impl<R> Send for ApngDecoder<R> where
R: Send,
impl<R> Sync for ApngDecoder<R> where
R: Sync,
impl<R> Unpin for ApngDecoder<R> where
R: Unpin,
impl<R> UnwindSafe for ApngDecoder<R> where
R: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more