[][src]Struct miniaudio_sys::ma_audio_buffer

#[repr(C)]pub struct ma_audio_buffer {
    pub ds: ma_data_source_callbacks,
    pub format: ma_format,
    pub channels: ma_uint32,
    pub cursor: ma_uint64,
    pub sizeInFrames: ma_uint64,
    pub pData: *const c_void,
    pub allocationCallbacks: ma_allocation_callbacks,
    pub ownsData: ma_bool32,
    pub _pExtraData: [ma_uint8; 1],
}

Fields

ds: ma_data_source_callbacksformat: ma_formatchannels: ma_uint32cursor: ma_uint64sizeInFrames: ma_uint64pData: *const c_voidallocationCallbacks: ma_allocation_callbacksownsData: ma_bool32_pExtraData: [ma_uint8; 1]

Trait Implementations

impl Clone for ma_audio_buffer[src]

impl Copy for ma_audio_buffer[src]

impl Debug for ma_audio_buffer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.