Struct aci_ppm::PnmDecoder[][src]

pub struct PnmDecoder<T: Read + Seek> { /* fields omitted */ }

Decoder for PPM/PNM.

Trait Implementations

impl<T> Decoder<T> for PnmDecoder<T> where
    T: Read + Seek
[src]

Create a new decoder for this format. None is returned when the decoder can't handle data's format: try a different decoder. Read more

Decode a frame. None is returned if the file is corrupt, Some(true) if it succeeded, and Some(false) if it can't add anymore frames because the input file ended. audio and video should initially be set to None. Read more

Get the frame number (24 frames per second).

Set the frame number to seek forward or backwards.

Auto Trait Implementations

impl<T> Send for PnmDecoder<T> where
    T: Send

impl<T> Sync for PnmDecoder<T> where
    T: Sync