pub struct Decoder<R> { /* private fields */ }
Expand description
A MP3 decoder which consumes a reader and produces Frame
s.
Implementations§
Source§impl<R> Decoder<R>
impl<R> Decoder<R>
Sourcepub fn reader_mut(&mut self) -> &mut R
pub fn reader_mut(&mut self) -> &mut R
Return a mutable reference to the underlying reader (reading from it is not recommended).
Sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Destroy the decoder and return the inner reader
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Decoder<R>where
R: Freeze,
impl<R> RefUnwindSafe for Decoder<R>where
R: RefUnwindSafe,
impl<R> Sync for Decoder<R>where
R: Sync,
impl<R> Unpin for Decoder<R>where
R: Unpin,
impl<R> UnwindSafe for Decoder<R>where
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more