Struct wasapi::Windows::Win32::Media::Multimedia::WAVEFORMATEX [−][src]
#[repr(C, packed(1))]pub struct WAVEFORMATEX { pub wFormatTag: u16, pub nChannels: u16, pub nSamplesPerSec: u32, pub nAvgBytesPerSec: u32, pub nBlockAlign: u16, pub wBitsPerSample: u16, pub cbSize: u16, }
Fields
wFormatTag: u16
nChannels: u16
nSamplesPerSec: u32
nAvgBytesPerSec: u32
nBlockAlign: u16
wBitsPerSample: u16
cbSize: u16
Trait Implementations
fn abi(&self) -> Self::Abi
fn abi(&self) -> Self::Abi
Casts the Rust object to its ABI type without copying the object.
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(&mut Param<'_, Self>)
Auto Trait Implementations
impl RefUnwindSafe for WAVEFORMATEX
impl Send for WAVEFORMATEX
impl Sync for WAVEFORMATEX
impl Unpin for WAVEFORMATEX
impl UnwindSafe for WAVEFORMATEX
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_param(self) -> Param<'a, T>