Struct xbadpcm::XboxADPCMDecoder
source · pub struct XboxADPCMDecoder<'a, E> { /* private fields */ }
Expand description
Xbox ADPCM decoder implementation.
Implementations
sourceimpl<'a, E: Sized> XboxADPCMDecoder<'a, E>
impl<'a, E: Sized> XboxADPCMDecoder<'a, E>
sourcepub fn new(
num_channels: usize,
sink: &'a mut dyn XboxADPCMDecodeSink<Error = E>
) -> XboxADPCMDecoder<'a, E>
pub fn new(
num_channels: usize,
sink: &'a mut dyn XboxADPCMDecodeSink<Error = E>
) -> XboxADPCMDecoder<'a, E>
Initialize an Xbox ADPCM decoder with the given channel count and the output.
Auto Trait Implementations
impl<'a, E> !RefUnwindSafe for XboxADPCMDecoder<'a, E>
impl<'a, E> !Send for XboxADPCMDecoder<'a, E>
impl<'a, E> !Sync for XboxADPCMDecoder<'a, E>
impl<'a, E> Unpin for XboxADPCMDecoder<'a, E>
impl<'a, E> !UnwindSafe for XboxADPCMDecoder<'a, E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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