Struct libwebp_sys::WebPPicture
source · [−]#[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_intcolorspace: WebPEncCSPwidth: c_intheight: c_inty: *mut u8u: *mut u8v: *mut u8y_stride: c_intuv_stride: c_inta: *mut u8a_stride: c_intargb: *mut u32argb_stride: c_intwriter: WebPWriterFunctioncustom_ptr: *mut c_voidextra_info_type: c_intextra_info: *mut u8stats: *mut WebPAuxStatserror_code: WebPEncodingErrorprogress_hook: WebPProgressHookuser_data: *mut c_voidTrait Implementations
sourceimpl Clone for WebPPicture
impl Clone for WebPPicture
sourcefn clone(&self) -> WebPPicture
fn clone(&self) -> WebPPicture
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 WebPPicture
impl Debug for WebPPicture
impl Copy for WebPPicture
Auto Trait Implementations
impl RefUnwindSafe for WebPPicture
impl !Send for WebPPicture
impl !Sync for WebPPicture
impl Unpin for WebPPicture
impl UnwindSafe for WebPPicture
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