pub struct OggDecoder<T: Seek + Read + Send + 'static> { /* private fields */ }
Expand description
A SourceSource, from ogg encoded sound data.
Implementations§
Source§impl<T: Seek + Read + Send + 'static> OggDecoder<T>
impl<T: Seek + Read + Send + 'static> OggDecoder<T>
Sourcepub fn new(data: T) -> Result<Self, VorbisError>
pub fn new(data: T) -> Result<Self, VorbisError>
Create a new OggDecoder from the given .ogg data.
Trait Implementations§
Source§impl<T: Seek + Read + Send + 'static> SoundSource for OggDecoder<T>
impl<T: Seek + Read + Send + 'static> SoundSource for OggDecoder<T>
Auto Trait Implementations§
impl<T> Freeze for OggDecoder<T>where
T: Freeze,
impl<T> RefUnwindSafe for OggDecoder<T>where
T: RefUnwindSafe,
impl<T> Send for OggDecoder<T>
impl<T> Sync for OggDecoder<T>where
T: Sync,
impl<T> Unpin for OggDecoder<T>where
T: Unpin,
impl<T> UnwindSafe for OggDecoder<T>where
T: 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