Struct windows::Win32::Media::Audio::WAVEFORMATEX
#[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§
§impl Clone for WAVEFORMATEX
impl Clone for WAVEFORMATEX
§fn clone(&self) -> WAVEFORMATEX
fn clone(&self) -> WAVEFORMATEX
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 more§impl Default for WAVEFORMATEX
impl Default for WAVEFORMATEX
impl Copy for WAVEFORMATEX
Auto Trait Implementations§
impl Freeze for WAVEFORMATEX
impl RefUnwindSafe for WAVEFORMATEX
impl Send for WAVEFORMATEX
impl Sync for WAVEFORMATEX
impl Unpin for WAVEFORMATEX
impl UnwindSafe for WAVEFORMATEX
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
)