pub struct WavWriter<W: Write> {
pub inner: W,
pub metadata: WavMetadata,
}
Fields
inner: W
metadata: WavMetadata
Implementations
sourceimpl<W: Write> WavWriter<W>
impl<W: Write> WavWriter<W>
pub fn new(inner: W, metadata: WavMetadata) -> Result<Self>
pub fn flush(&mut self) -> Result<()>
sourcepub unsafe fn into_wav_frame_writer<S: Sample>(self) -> WavFrameWriter<W, S>
pub unsafe fn into_wav_frame_writer<S: Sample>(self) -> WavFrameWriter<W, S>
pub fn into_wav_frame_writer_kind(self) -> WavFrameWriterKind<W>
Auto Trait Implementations
impl<W> RefUnwindSafe for WavWriter<W> where
W: RefUnwindSafe,
impl<W> Send for WavWriter<W> where
W: Send,
impl<W> Sync for WavWriter<W> where
W: Sync,
impl<W> Unpin for WavWriter<W> where
W: Unpin,
impl<W> UnwindSafe for WavWriter<W> where
W: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more