#[repr(C)]pub struct DSCAPS {Show 24 fields
pub dwSize: u32,
pub dwFlags: u32,
pub dwMinSecondarySampleRate: u32,
pub dwMaxSecondarySampleRate: u32,
pub dwPrimaryBuffers: u32,
pub dwMaxHwMixingAllBuffers: u32,
pub dwMaxHwMixingStaticBuffers: u32,
pub dwMaxHwMixingStreamingBuffers: u32,
pub dwFreeHwMixingAllBuffers: u32,
pub dwFreeHwMixingStaticBuffers: u32,
pub dwFreeHwMixingStreamingBuffers: u32,
pub dwMaxHw3DAllBuffers: u32,
pub dwMaxHw3DStaticBuffers: u32,
pub dwMaxHw3DStreamingBuffers: u32,
pub dwFreeHw3DAllBuffers: u32,
pub dwFreeHw3DStaticBuffers: u32,
pub dwFreeHw3DStreamingBuffers: u32,
pub dwTotalHwMemBytes: u32,
pub dwFreeHwMemBytes: u32,
pub dwMaxContigFreeHwMemBytes: u32,
pub dwUnlockTransferRateHwBuffers: u32,
pub dwPlayCpuOverheadSwBuffers: u32,
pub dwReserved1: u32,
pub dwReserved2: u32,
}
Fields§
§dwSize: u32
§dwFlags: u32
§dwMinSecondarySampleRate: u32
§dwMaxSecondarySampleRate: u32
§dwPrimaryBuffers: u32
§dwMaxHwMixingAllBuffers: u32
§dwMaxHwMixingStaticBuffers: u32
§dwMaxHwMixingStreamingBuffers: u32
§dwFreeHwMixingAllBuffers: u32
§dwFreeHwMixingStaticBuffers: u32
§dwFreeHwMixingStreamingBuffers: u32
§dwMaxHw3DAllBuffers: u32
§dwMaxHw3DStaticBuffers: u32
§dwMaxHw3DStreamingBuffers: u32
§dwFreeHw3DAllBuffers: u32
§dwFreeHw3DStaticBuffers: u32
§dwFreeHw3DStreamingBuffers: u32
§dwTotalHwMemBytes: u32
§dwFreeHwMemBytes: u32
§dwMaxContigFreeHwMemBytes: u32
§dwUnlockTransferRateHwBuffers: u32
§dwPlayCpuOverheadSwBuffers: u32
§dwReserved1: u32
§dwReserved2: u32
Trait Implementations§
impl Copy for DSCAPS
impl Eq for DSCAPS
impl StructuralPartialEq for DSCAPS
Auto Trait Implementations§
impl Freeze for DSCAPS
impl RefUnwindSafe for DSCAPS
impl Send for DSCAPS
impl Sync for DSCAPS
impl Unpin for DSCAPS
impl UnwindSafe for DSCAPS
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)