Skip to main content

BufferWriter

Trait BufferWriter 

Source
pub trait BufferWriter<T>
where T: SampleFormat,
{ // Required method fn audio_write_buffer(&self, buffer: &Buffer<T>) -> Result<()>; }

Required Methods§

Source

fn audio_write_buffer(&self, buffer: &Buffer<T>) -> Result<()>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<F, T> BufferWriter<F> for T
where F: SampleFormat, T: AudioSink<Format = F>,