[][src]Struct purrmitive::webp::WebPDecoder

pub struct WebPDecoder<R> { /* fields omitted */ }

WebP Image format decoder. Currently only supportes the luma channel (meaning that decoded images will be grayscale).

Implementations

impl<R> WebPDecoder<R> where
    R: Read
[src]

pub fn new(r: R) -> Result<WebPDecoder<R>, ImageError>[src]

Create a new WebPDecoder from the Reader r. This function takes ownership of the Reader.

Trait Implementations

impl<'a, R> ImageDecoder<'a> for WebPDecoder<R> where
    R: 'a + Read
[src]

type Reader = WebpReader<R>

The type of reader produced by into_reader.

Auto Trait Implementations

impl<R> RefUnwindSafe for WebPDecoder<R> where
    R: RefUnwindSafe
[src]

impl<R> Send for WebPDecoder<R> where
    R: Send
[src]

impl<R> Sync for WebPDecoder<R> where
    R: Sync
[src]

impl<R> Unpin for WebPDecoder<R> where
    R: Unpin
[src]

impl<R> UnwindSafe for WebPDecoder<R> where
    R: UnwindSafe
[src]

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> SetParameter for T[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,