Struct rsynth::backend::combined::memory::AudioBufferWriter[][src]

pub struct AudioBufferWriter<'b, S> { /* fields omitted */ }

An AudioWriter that appends to a given AudioChunk. The generic parameter type S represents the sample type.

Note about using in a real-time context

Because this appends to an AudioChunk, it may allocate memory when the capacity of the AudioChunk is exceeded.

Implementations

impl<'b, S> AudioBufferWriter<'b, S>[src]

pub fn new(buffer: &'b mut AudioChunk<S>) -> Self[src]

Trait Implementations

impl<'b, S> AudioWriter<S> for AudioBufferWriter<'b, S> where
    S: Copy
[src]

type Err = Infallible

The type of the error that occurs when reading data.

Auto Trait Implementations

impl<'b, S> RefUnwindSafe for AudioBufferWriter<'b, S> where
    S: RefUnwindSafe

impl<'b, S> Send for AudioBufferWriter<'b, S> where
    S: Send

impl<'b, S> Sync for AudioBufferWriter<'b, S> where
    S: Sync

impl<'b, S> Unpin for AudioBufferWriter<'b, S>

impl<'b, S> !UnwindSafe for AudioBufferWriter<'b, S>

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>, 

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

impl<S> FromSample<S> for S

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

impl<T, U> ToSample<U> for T where
    U: FromSample<T>, 

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.