Struct png::Writer [] [src]

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

Methods

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

fn write_chunk(&mut self, name: [u8; 4], data: &[u8]) -> Result<()>

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

Writes the image data.

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