Enum oxipng::png::Headers [] [src]

pub enum Headers {
    None,
    Some(Vec<String>),
    Safe,
    All,
}

Options to use for performing operations on headers (such as stripping)

Variants

None

None

Some(Vec<String>)

Some, with a list of 4-character chunk codes

Safe

Headers that won't affect rendering (all but cHRM, gAMA, iCCP, sBIT, sRGB, bKGD, hIST, pHYs, sPLT)

All

All non-critical headers

Trait Implementations

impl Clone for Headers
[src]

fn clone(&self) -> Headers

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 PartialEq for Headers
[src]

fn eq(&self, __arg_0: &Headers) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Headers) -> bool

This method tests for !=.

impl Debug for Headers
[src]

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

Formats the value using the given formatter.