#[repr(C, packed(1))]pub struct XAUDIO2_BUFFER {
pub Flags: u32,
pub AudioBytes: u32,
pub pAudioData: *const u8,
pub PlayBegin: u32,
pub PlayLength: u32,
pub LoopBegin: u32,
pub LoopLength: u32,
pub LoopCount: u32,
pub pContext: *mut c_void,
}
Fields§
§Flags: u32
§AudioBytes: u32
§pAudioData: *const u8
§PlayBegin: u32
§PlayLength: u32
§LoopBegin: u32
§LoopLength: u32
§LoopCount: u32
§pContext: *mut c_void
Trait Implementations§
§impl Clone for XAUDIO2_BUFFER
impl Clone for XAUDIO2_BUFFER
§fn clone(&self) -> XAUDIO2_BUFFER
fn clone(&self) -> XAUDIO2_BUFFER
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 XAUDIO2_BUFFER
impl Default for XAUDIO2_BUFFER
impl Copy for XAUDIO2_BUFFER
Auto Trait Implementations§
impl Freeze for XAUDIO2_BUFFER
impl RefUnwindSafe for XAUDIO2_BUFFER
impl !Send for XAUDIO2_BUFFER
impl !Sync for XAUDIO2_BUFFER
impl Unpin for XAUDIO2_BUFFER
impl UnwindSafe for XAUDIO2_BUFFER
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
)