Struct libwebp_sys::WebPBitstreamFeatures[][src]

#[repr(C)]pub struct WebPBitstreamFeatures {
    pub width: c_int,
    pub height: c_int,
    pub has_alpha: c_int,
    pub has_animation: c_int,
    pub format: c_int,
    // some fields omitted
}

Features gathered from the bitstream

Fields

width: c_int

Width in pixels, as read from the bitstream.

height: c_int

Height in pixels, as read from the bitstream.

has_alpha: c_int

True if the bitstream contains an alpha channel.

has_animation: c_int

True if the bitstream is an animation.

format: c_int

0 = undefined (/mixed), 1 = lossy, 2 = lossless

Trait Implementations

impl Clone for WebPBitstreamFeatures[src]

impl Copy for WebPBitstreamFeatures[src]

impl Debug for WebPBitstreamFeatures[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.