#[repr(C)]
pub struct WebPAuxStats {
Show 18 fields pub coded_size: c_int, pub PSNR: [c_float; 5], pub block_count: [c_int; 3], pub header_bytes: [c_int; 2], pub residual_bytes: [[c_int; 4]; 3], pub segment_size: [c_int; 4], pub segment_quant: [c_int; 4], pub segment_level: [c_int; 4], pub alpha_data_size: c_int, pub layer_data_size: c_int, pub lossless_features: u32, pub histogram_bits: c_int, pub transform_bits: c_int, pub cache_bits: c_int, pub palette_size: c_int, pub lossless_size: c_int, pub lossless_hdr_size: c_int, pub lossless_data_size: c_int, /* private fields */
}

Fields§

§coded_size: c_int§PSNR: [c_float; 5]§block_count: [c_int; 3]§header_bytes: [c_int; 2]§residual_bytes: [[c_int; 4]; 3]§segment_size: [c_int; 4]§segment_quant: [c_int; 4]§segment_level: [c_int; 4]§alpha_data_size: c_int§layer_data_size: c_int§lossless_features: u32§histogram_bits: c_int§transform_bits: c_int§cache_bits: c_int§palette_size: c_int§lossless_size: c_int§lossless_hdr_size: c_int
Available on crate feature 0_5 only.
§lossless_data_size: c_int
Available on crate feature 0_5 only.

Trait Implementations§

source§

impl Clone for WebPAuxStats

source§

fn clone(&self) -> WebPAuxStats

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for WebPAuxStats

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for WebPAuxStats

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.