#[repr(C)]pub struct WebPDecBuffer {
pub colorspace: WEBP_CSP_MODE,
pub width: c_int,
pub height: c_int,
pub is_external_memory: c_int,
pub u: WebPDecBufferUnion,
pub pad: [u32; 4],
pub private_memory: *mut u8,
}Expand description
Output buffer (C layout).
Fields§
§colorspace: WEBP_CSP_MODEColorspace.
width: c_intWidth.
height: c_intHeight.
is_external_memory: c_intIf non-zero, private_memory is not used; 2 or more marks slow memory.
u: WebPDecBufferUnionNameless union of buffer parameters.
pad: [u32; 4]Padding for later use.
private_memory: *mut u8Internally allocated memory (only when is_external_memory is 0).
Auto Trait Implementations§
impl !Send for WebPDecBuffer
impl !Sync for WebPDecBuffer
impl Forget for WebPDecBuffer
impl Freeze for WebPDecBuffer
impl Move for WebPDecBuffer
impl RefUnwindSafe for WebPDecBuffer
impl Unpin for WebPDecBuffer
impl UnsafeUnpin for WebPDecBuffer
impl UnwindSafe for WebPDecBuffer
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