#[repr(C)]
pub struct WebPPicture {
Show 21 fields pub use_argb: c_int, pub colorspace: WebPEncCSP, pub width: c_int, pub height: c_int, pub y: *mut u8, pub u: *mut u8, pub v: *mut u8, pub y_stride: c_int, pub uv_stride: c_int, pub a: *mut u8, pub a_stride: c_int, pub argb: *mut u32, pub argb_stride: c_int, pub writer: WebPWriterFunction, pub custom_ptr: *mut c_void, pub extra_info_type: c_int, pub extra_info: *mut u8, pub stats: *mut WebPAuxStats, pub error_code: WebPEncodingError, pub progress_hook: WebPProgressHook, pub user_data: *mut c_void, /* private fields */
}

Fields§

§use_argb: c_int§colorspace: WebPEncCSP§width: c_int§height: c_int§y: *mut u8§u: *mut u8§v: *mut u8§y_stride: c_int§uv_stride: c_int§a: *mut u8§a_stride: c_int§argb: *mut u32§argb_stride: c_int§writer: WebPWriterFunction§custom_ptr: *mut c_void§extra_info_type: c_int§extra_info: *mut u8§stats: *mut WebPAuxStats§error_code: WebPEncodingError§progress_hook: WebPProgressHook§user_data: *mut c_void

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.