[][src]Struct libwebp_sys::WebPDecBuffer

#[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],
    // some fields omitted
}

Output buffer

Fields

colorspace: WEBP_CSP_MODE

Colorspace.

width: c_int

Dimension (width).

height: c_int

Dimension (height).

is_external_memory: c_int

If non-zero, 'internal_memory' pointer is not used. If value is '2' or more, the external memory is considered 'slow' and multiple read/write will be avoided.

u: __WebPDecBufferUnion

Nameless union of buffer parameters.

pad: [u32; 4]

padding for later use

Trait Implementations

impl Clone for WebPDecBuffer[src]

impl Copy for WebPDecBuffer[src]

impl Debug for WebPDecBuffer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.