[][src]Struct webp_dev::raw::webp::WebPConfig

#[repr(C)]
pub struct WebPConfig {
    pub lossless: c_int,
    pub quality: f32,
    pub method: c_int,
    pub image_hint: WebPImageHint,
    pub target_size: c_int,
    pub target_PSNR: f32,
    pub segments: c_int,
    pub sns_strength: c_int,
    pub filter_strength: c_int,
    pub filter_sharpness: c_int,
    pub filter_type: c_int,
    pub autofilter: c_int,
    pub alpha_compression: c_int,
    pub alpha_filtering: c_int,
    pub alpha_quality: c_int,
    pub pass: c_int,
    pub show_compressed: c_int,
    pub preprocessing: c_int,
    pub partitions: c_int,
    pub partition_limit: c_int,
    pub emulate_jpeg_size: c_int,
    pub thread_level: c_int,
    pub low_memory: c_int,
    pub near_lossless: c_int,
    pub exact: c_int,
    pub use_delta_palette: c_int,
    pub use_sharp_yuv: c_int,
    pub pad: [u32; 2],
}

Fields

lossless: c_intquality: f32method: c_intimage_hint: WebPImageHinttarget_size: c_inttarget_PSNR: f32segments: c_intsns_strength: c_intfilter_strength: c_intfilter_sharpness: c_intfilter_type: c_intautofilter: c_intalpha_compression: c_intalpha_filtering: c_intalpha_quality: c_intpass: c_intshow_compressed: c_intpreprocessing: c_intpartitions: c_intpartition_limit: c_intemulate_jpeg_size: c_intthread_level: c_intlow_memory: c_intnear_lossless: c_intexact: c_intuse_delta_palette: c_intuse_sharp_yuv: c_intpad: [u32; 2]

Trait Implementations

impl Clone for WebPConfig[src]

impl Copy for WebPConfig[src]

impl Debug for WebPConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T