Struct libwebp_sys::WebPRGBABuffer
source · #[repr(C)]pub struct WebPRGBABuffer {
pub rgba: *mut u8,
pub stride: c_int,
pub size: usize,
}Expand description
view as RGBA
Fields§
§rgba: *mut u8pointer to RGBA samples
stride: c_intstride in bytes from one scanline to the next.
size: usizetotal size of the *rgba buffer.
Trait Implementations§
source§impl Clone for WebPRGBABuffer
impl Clone for WebPRGBABuffer
source§fn clone(&self) -> WebPRGBABuffer
fn clone(&self) -> WebPRGBABuffer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more