Struct raw_audio::Decoder[][src]

pub struct Decoder<R: Read, F: Frame, P: Pcm>(_, _);

Decoder for RAW audio

Implementations

impl<R: Read, F: Frame, P: Pcm> Decoder<R, F, P>[src]

pub fn new<H: Into<f64>>(reader: R, pcm: P) -> Self[src]

Create a new RAW audio decoder.

Trait Implementations

impl<R: Read, F: Frame> Iterator for Decoder<R, F, U8>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, S8>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, S24Le>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, S24Be>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, U32Le>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, U32Be>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, S32Le>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, S32Be>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, F32Le>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, F32Be>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, F64Le>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, F64Be>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, MuLaw>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, ALaw>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, U16Le>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, U16Be>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, S16Le>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, S16Be>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, U24Le>[src]

type Item = Result<F>

The type of the elements being iterated over.

impl<R: Read, F: Frame> Iterator for Decoder<R, F, U24Be>[src]

type Item = Result<F>

The type of the elements being iterated over.

Auto Trait Implementations

impl<R, F, P> RefUnwindSafe for Decoder<R, F, P> where
    F: RefUnwindSafe,
    P: RefUnwindSafe,
    R: RefUnwindSafe

impl<R, F, P> Send for Decoder<R, F, P> where
    F: Send,
    P: Send,
    R: Send

impl<R, F, P> Sync for Decoder<R, F, P> where
    F: Sync,
    P: Sync,
    R: Sync

impl<R, F, P> Unpin for Decoder<R, F, P> where
    P: Unpin,
    R: Unpin

impl<R, F, P> UnwindSafe for Decoder<R, F, P> where
    F: UnwindSafe,
    P: UnwindSafe,
    R: UnwindSafe

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.