#[repr(C)]pub struct WebPRGBABuffer {
pub rgba: *mut u8,
pub stride: c_int,
pub size: usize,
}Expand description
View as RGBA (C layout).
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
impl Copy for WebPRGBABuffer
Auto Trait Implementations§
impl !Send for WebPRGBABuffer
impl !Sync for WebPRGBABuffer
impl Forget for WebPRGBABuffer
impl Freeze for WebPRGBABuffer
impl Move for WebPRGBABuffer
impl RefUnwindSafe for WebPRGBABuffer
impl Unpin for WebPRGBABuffer
impl UnsafeUnpin 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