Enum oxipng::Headers[][src]

pub enum Headers {
    None,
    Strip(Vec<String>),
    Safe,
    Keep(HashSet<String>),
    All,
}

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

Variants

None

Remove specific chunks

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

Remove all non-critical chunks except these

All non-critical headers

Trait Implementations

impl Debug for Headers
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Headers
[src]

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

This method tests for !=.

impl Clone for Headers
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Headers

impl Sync for Headers