Struct image::gif::Decoder
[-] [+]
[src]
pub struct Decoder<R: Read> { // some fields omitted }
GIF decoder
pub struct Decoder<R: Read> { // some fields omitted }
GIF decoder
impl<R: Read> Decoder<R>
impl<R: Read> ImageDecoder for Decoder<R>
fn dimensions(&mut self) -> ImageResult<(u32, u32)>
fn colortype(&mut self) -> ImageResult<ColorType>
fn row_len(&mut self) -> ImageResult<usize>
fn read_scanline(&mut self, buf: &mut [u8]) -> ImageResult<u32>
fn read_image(&mut self) -> ImageResult<DecodingResult>
fn is_animated(&mut self) -> ImageResult<bool>
fn into_frames(self) -> ImageResult<Frames>
fn load_rect(&mut self, x: u32, y: u32, length: u32, width: u32) -> ImageResult<Vec<u8>>
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).