Struct oxipng::png::ScanLine [] [src]

pub struct ScanLine {
    pub filter: u8,
    pub data: Vec<u8>,
}

A scan line in a PNG image

Fields

filter: u8

The filter type used to encode the current scan line (0-4)

data: Vec<u8>

The byte data for the current scan line, encoded with the filter specified in the filter field

Trait Implementations

impl Clone for ScanLine
[src]

fn clone(&self) -> ScanLine

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for ScanLine
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.