#[repr(C)]pub struct ma_decoder {Show 21 fields
pub ds: ma_data_source_callbacks,
pub onRead: ma_decoder_read_proc,
pub onSeek: ma_decoder_seek_proc,
pub pUserData: *mut c_void,
pub readPointer: ma_uint64,
pub internalFormat: ma_format,
pub internalChannels: ma_uint32,
pub internalSampleRate: ma_uint32,
pub internalChannelMap: [ma_channel; 32],
pub outputFormat: ma_format,
pub outputChannels: ma_uint32,
pub outputSampleRate: ma_uint32,
pub outputChannelMap: [ma_channel; 32],
pub converter: ma_data_converter,
pub allocationCallbacks: ma_allocation_callbacks,
pub onReadPCMFrames: ma_decoder_read_pcm_frames_proc,
pub onSeekToPCMFrame: ma_decoder_seek_to_pcm_frame_proc,
pub onUninit: ma_decoder_uninit_proc,
pub onGetLengthInPCMFrames: ma_decoder_get_length_in_pcm_frames_proc,
pub pInternalDecoder: *mut c_void,
pub backend: ma_decoder__bindgen_ty_1,
}Fields§
§ds: ma_data_source_callbacks§onRead: ma_decoder_read_proc§onSeek: ma_decoder_seek_proc§pUserData: *mut c_void§readPointer: ma_uint64§internalFormat: ma_format§internalChannels: ma_uint32§internalSampleRate: ma_uint32§internalChannelMap: [ma_channel; 32]§outputFormat: ma_format§outputChannels: ma_uint32§outputSampleRate: ma_uint32§outputChannelMap: [ma_channel; 32]§converter: ma_data_converter§allocationCallbacks: ma_allocation_callbacks§onReadPCMFrames: ma_decoder_read_pcm_frames_proc§onSeekToPCMFrame: ma_decoder_seek_to_pcm_frame_proc§onUninit: ma_decoder_uninit_proc§onGetLengthInPCMFrames: ma_decoder_get_length_in_pcm_frames_proc§pInternalDecoder: *mut c_void§backend: ma_decoder__bindgen_ty_1Trait Implementations§
Source§impl Clone for ma_decoder
impl Clone for ma_decoder
Source§fn clone(&self) -> ma_decoder
fn clone(&self) -> ma_decoder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ma_decoder
impl Debug for ma_decoder
impl Copy for ma_decoder
Auto Trait Implementations§
impl Freeze for ma_decoder
impl RefUnwindSafe for ma_decoder
impl !Send for ma_decoder
impl !Sync for ma_decoder
impl Unpin for ma_decoder
impl UnwindSafe for ma_decoder
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