Struct libwebp_sys::WebPPicture [−][src]
#[repr(C)]pub struct WebPPicture {}Show 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 pad1: [u32; 2], pub argb: *mut u32, pub argb_stride: c_int, pub pad2: [u32; 3], 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, pub pad3: [u32; 3], pub pad4: *mut u8, pub pad5: *mut u8, pub pad6: [u32; 8], pub memory_: *mut c_void, pub memory_argb_: *mut c_void, pub pad7: [*mut c_void; 2],
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_intpad1: [u32; 2]argb: *mut u32argb_stride: c_intpad2: [u32; 3]writer: WebPWriterFunctioncustom_ptr: *mut c_voidextra_info_type: c_intextra_info: *mut u8stats: *mut WebPAuxStatserror_code: WebPEncodingErrorprogress_hook: WebPProgressHookuser_data: *mut c_voidpad3: [u32; 3]pad4: *mut u8pad5: *mut u8pad6: [u32; 8]memory_: *mut c_voidmemory_argb_: *mut c_voidpad7: [*mut c_void; 2]Trait Implementations
impl Clone for WebPPicture[src]
impl Clone for WebPPicture[src]fn clone(&self) -> WebPPicture[src]
fn clone(&self) -> WebPPicture[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for WebPPicture[src]
impl Debug for WebPPicture[src]impl Copy for WebPPicture[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more