Struct rofl::animated_gif::GifFrame [] [src]

pub struct GifFrame {
    pub image: DynamicImage,
    pub metadata: Frame<'static>,
}

A single frame of an animated GIF template.

Fields

The image of the frame.

gif::Frame structure containing just the metadata of the frame. The actual buffer is emptied and converted into the image.

Methods

impl GifFrame
[src]

Create a GifFrame from the gif::Frame metadata & specified RGBA buffer.

Trait Implementations

impl Clone for GifFrame
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GifFrame
[src]

Formats the value using the given formatter.