Struct image::Frames [-] [+] [src]

pub struct Frames {
    // some fields omitted
}

Hold the frames of the animated image

Methods

impl Frames

fn new(frames: Vec<Frame>) -> Frames

Contructs a new frame iterator

Trait Implementations

impl<'a> Iterator for Frames

type Item = Frame

fn next(&mut self) -> Option<Frame>

fn size_hint(&self) -> (usize, Option<usize>)