Struct libwebp_sys::WebPConfig

source ·
#[repr(C)]
pub struct WebPConfig {
Show 28 fields 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_int§quality: f32§method: c_int§image_hint: WebPImageHint§target_size: c_int§target_PSNR: f32§segments: c_int§sns_strength: c_int§filter_strength: c_int§filter_sharpness: c_int§filter_type: c_int§autofilter: c_int§alpha_compression: c_int§alpha_filtering: c_int§alpha_quality: c_int§pass: c_int§show_compressed: c_int§preprocessing: c_int§partitions: c_int§partition_limit: c_int§emulate_jpeg_size: c_int§thread_level: c_int§low_memory: c_int§near_lossless: c_int§exact: c_int§use_delta_palette: c_int§use_sharp_yuv: c_int§pad: [u32; 2]

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.