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 u8
pointer to RGBA samples
stride: c_int
stride in bytes from one scanline to the next.
size: usize
total 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 moresource§impl Debug for WebPRGBABuffer
impl Debug for WebPRGBABuffer
impl Copy for WebPRGBABuffer
Auto Trait Implementations§
impl RefUnwindSafe for WebPRGBABuffer
impl !Send for WebPRGBABuffer
impl !Sync for WebPRGBABuffer
impl Unpin for WebPRGBABuffer
impl UnwindSafe for WebPRGBABuffer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more