Struct libwebp_sys::WebPConfig
source · [−]#[repr(C)]pub struct WebPConfig {Show 29 fields
pub lossless: c_int,
pub quality: c_float,
pub method: c_int,
pub image_hint: WebPImageHint,
pub target_size: c_int,
pub target_PSNR: c_float,
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 qmin: c_int,
pub qmax: c_int,
}Fields
lossless: c_intquality: c_floatmethod: c_intimage_hint: WebPImageHinttarget_size: c_inttarget_PSNR: c_floatsegments: 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_intAvailable on crate feature
0_5 only.exact: c_intAvailable on crate feature
0_5 only.use_delta_palette: c_intAvailable on crate feature
0_6 only.use_sharp_yuv: c_intAvailable on crate feature
0_6 only.qmin: c_intAvailable on crate feature
1_2 only.qmax: c_intAvailable on crate feature
1_2 only.Trait Implementations
sourceimpl Clone for WebPConfig
impl Clone for WebPConfig
sourcefn clone(&self) -> WebPConfig
fn clone(&self) -> WebPConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for WebPConfig
impl Debug for WebPConfig
impl Copy for WebPConfig
Auto Trait Implementations
impl RefUnwindSafe for WebPConfig
impl Send for WebPConfig
impl Sync for WebPConfig
impl Unpin for WebPConfig
impl UnwindSafe for WebPConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more