Struct oxipng::Options [] [src]

pub struct Options {
    pub backup: bool,
    pub out_file: PathBuf,
    pub out_dir: Option<PathBuf>,
    pub stdout: bool,
    pub fix_errors: bool,
    pub pretend: bool,
    pub recursive: bool,
    pub clobber: bool,
    pub create: bool,
    pub force: bool,
    pub preserve_attrs: bool,
    pub verbosity: Option<u8>,
    pub filter: HashSet<u8>,
    pub interlace: Option<u8>,
    pub compression: HashSet<u8>,
    pub memory: HashSet<u8>,
    pub strategies: HashSet<u8>,
    pub window: u8,
    pub bit_depth_reduction: bool,
    pub color_type_reduction: bool,
    pub palette_reduction: bool,
    pub idat_recoding: bool,
    pub strip: bool,
}

Fields

backup: bool out_file: PathBuf out_dir: Option<PathBuf> stdout: bool fix_errors: bool pretend: bool recursive: bool clobber: bool create: bool force: bool preserve_attrs: bool verbosity: Option<u8> filter: HashSet<u8> interlace: Option<u8> compression: HashSet<u8> memory: HashSet<u8> strategies: HashSet<u8> window: u8 bit_depth_reduction: bool color_type_reduction: bool palette_reduction: bool idat_recoding: bool strip: bool

Trait Implementations

impl Debug for Options
[src]

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

Formats the value using the given formatter.

impl Clone for Options
[src]

fn clone(&self) -> Options

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