Struct audio_engine::OggDecoder
source · [−]Expand description
A SourceSource, from ogg encoded sound data.
Implementations
sourceimpl<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
sourceimpl<T: Seek + Read + Send + 'static> SoundSource for OggDecoder<T>
impl<T: Seek + Read + Send + 'static> SoundSource for OggDecoder<T>
Auto Trait Implementations
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
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