[−][src]Struct miniaudio_sys::ma_device__bindgen_ty_1
Fields
name: [c_char; 256]
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
format: ma_format
channels: ma_uint32
channelMap: [ma_channel; 32]
internalFormat: ma_format
internalChannels: ma_uint32
internalSampleRate: ma_uint32
internalChannelMap: [ma_channel; 32]
internalBufferSizeInFrames: ma_uint32
internalPeriods: ma_uint32
__bindgen_padding_0: [u64; 3]
converter: ma_pcm_converter
_dspFrameCount: ma_uint32
_dspFrames: *const ma_uint8
__bindgen_padding_1: [u64; 6]
Methods
impl ma_device__bindgen_ty_1
[src]
pub fn usingDefaultFormat(&self) -> ma_bool32
[src]
pub fn set_usingDefaultFormat(&mut self, val: ma_bool32)
[src]
pub fn usingDefaultChannels(&self) -> ma_bool32
[src]
pub fn set_usingDefaultChannels(&mut self, val: ma_bool32)
[src]
pub fn usingDefaultChannelMap(&self) -> ma_bool32
[src]
pub fn set_usingDefaultChannelMap(&mut self, val: ma_bool32)
[src]
pub fn new_bitfield_1(
usingDefaultFormat: ma_bool32,
usingDefaultChannels: ma_bool32,
usingDefaultChannelMap: ma_bool32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
usingDefaultFormat: ma_bool32,
usingDefaultChannels: ma_bool32,
usingDefaultChannelMap: ma_bool32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for ma_device__bindgen_ty_1
[src]
fn clone(&self) -> ma_device__bindgen_ty_1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ma_device__bindgen_ty_1
[src]
Auto Trait Implementations
impl RefUnwindSafe for ma_device__bindgen_ty_1
impl !Send for ma_device__bindgen_ty_1
impl !Sync for ma_device__bindgen_ty_1
impl Unpin for ma_device__bindgen_ty_1
impl UnwindSafe for ma_device__bindgen_ty_1
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,