Struct gif::Writer [] [src]

pub struct Writer<W: Write> {
    // some fields omitted
}

Wrapper for Encoder that indicates that the file headers have been written.

Methods

impl<W: Write> Writer<W>
[src]

fn write_frame(&mut self, frame: &Frame) -> Result<()>

Writes a complete frame to the image

Note: This function also writes a control extention if necessary.

fn write_extension(&mut self, extension: ExtensionData) -> Result<()>

Writes an extension to the image

fn write_raw_extension(&mut self, func: u8, data: &[u8]) -> Result<()>

Writes a raw extension to the image

Trait Implementations

impl<W: Write> Drop for Writer<W>
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more