[][src]Struct audrey::read::Samples

pub struct Samples<'a, R, S> where
    R: 'a + Read + Seek
{ /* fields omitted */ }

An iterator that reads samples from the underlying reader, converts them to the sample type S if not already in that format and yields them.

Trait Implementations

impl<'a, R, S> Iterator for Samples<'a, R, S> where
    R: Read + Seek,
    S: Sample
[src]

type Item = Result<S, FormatError>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, R, S> RefUnwindSafe for Samples<'a, R, S> where
    R: RefUnwindSafe,
    S: RefUnwindSafe
[src]

impl<'a, R, S> Send for Samples<'a, R, S> where
    R: Send,
    S: Send
[src]

impl<'a, R, S> Sync for Samples<'a, R, S> where
    R: Sync,
    S: Sync
[src]

impl<'a, R, S> Unpin for Samples<'a, R, S> where
    S: Unpin
[src]

impl<'a, R, S> !UnwindSafe for Samples<'a, R, S>[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<S, T> Duplex<S> for T where
    T: FromSample<S> + ToSample<S>, 
[src]

impl<T> From<T> for T[src]

impl<S> FromSample<S> for S[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> ToSample<U> for T where
    U: FromSample<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.