Struct windows_sys::Win32::Media::Audio::WAVEFORMAT
#[repr(C, packed(1))]pub struct WAVEFORMAT {
pub wFormatTag: u16,
pub nChannels: u16,
pub nSamplesPerSec: u32,
pub nAvgBytesPerSec: u32,
pub nBlockAlign: u16,
}
Fields§
§wFormatTag: u16
§nChannels: u16
§nSamplesPerSec: u32
§nAvgBytesPerSec: u32
§nBlockAlign: u16
Trait Implementations§
§impl Clone for WAVEFORMAT
impl Clone for WAVEFORMAT
§fn clone(&self) -> WAVEFORMAT
fn clone(&self) -> WAVEFORMAT
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 moreimpl Copy for WAVEFORMAT
Auto Trait Implementations§
impl Freeze for WAVEFORMAT
impl RefUnwindSafe for WAVEFORMAT
impl Send for WAVEFORMAT
impl Sync for WAVEFORMAT
impl Unpin for WAVEFORMAT
impl UnwindSafe for WAVEFORMAT
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
)