[][src]Struct image::ppm::PPMDecoder

pub struct PPMDecoder<R>(_);
Deprecated since 0.17.0:

Use pnm::PNMDecoder instead, check the subtype if necessary

PPM decoder, restriction pnm type to ppm

Methods

impl<R: Read> PPMDecoder<R>[src]

pub fn new(read: R) -> ImageResult<PPMDecoder<R>>[src]

Deprecated since 0.17.0:

Use pnm::PNMDecoder instead, check the subtype if necessary

Create a new pnm decoder and asserts it is ppm

Trait Implementations

impl<R: Read> ImageDecoder for PPMDecoder<R>[src]

Auto Trait Implementations

impl<R> Send for PPMDecoder<R> where
    R: Send

impl<R> Sync for PPMDecoder<R> where
    R: Sync

impl<R> Unpin for PPMDecoder<R> where
    R: Unpin

impl<R> UnwindSafe for PPMDecoder<R> where
    R: UnwindSafe

impl<R> RefUnwindSafe for PPMDecoder<R> where
    R: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> 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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> SetParameter for T[src]