Struct XAUDIO2_VOICE_STATE
#[repr(C, packed(1))]pub struct XAUDIO2_VOICE_STATE {
pub pCurrentBufferContext: *mut c_void,
pub BuffersQueued: u32,
pub SamplesPlayed: u64,
}
Fields§
§pCurrentBufferContext: *mut c_void
§BuffersQueued: u32
§SamplesPlayed: u64
Trait Implementations§
§impl Clone for XAUDIO2_VOICE_STATE
impl Clone for XAUDIO2_VOICE_STATE
§fn clone(&self) -> XAUDIO2_VOICE_STATE
fn clone(&self) -> XAUDIO2_VOICE_STATE
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_VOICE_STATE
impl Default for XAUDIO2_VOICE_STATE
impl Copy for XAUDIO2_VOICE_STATE
Auto Trait Implementations§
impl Freeze for XAUDIO2_VOICE_STATE
impl RefUnwindSafe for XAUDIO2_VOICE_STATE
impl !Send for XAUDIO2_VOICE_STATE
impl !Sync for XAUDIO2_VOICE_STATE
impl Unpin for XAUDIO2_VOICE_STATE
impl UnwindSafe for XAUDIO2_VOICE_STATE
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