#[repr(C)]pub struct SystemAudioEventData {
pub change: SystemAudioChange,
}Expand description
Data carried by a SystemAudioChange event (9h-i-a-i-d-i): what the
system did with the audio the app took over. Also readable through
CallbackInfo::get_system_audio_change.
Fields§
§change: SystemAudioChangeTrait Implementations§
Source§impl Clone for SystemAudioEventData
impl Clone for SystemAudioEventData
Source§fn clone(&self) -> SystemAudioEventData
fn clone(&self) -> SystemAudioEventData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SystemAudioEventData
Source§impl Debug for SystemAudioEventData
impl Debug for SystemAudioEventData
impl Eq for SystemAudioEventData
Source§impl PartialEq for SystemAudioEventData
impl PartialEq for SystemAudioEventData
impl StructuralPartialEq for SystemAudioEventData
Auto Trait Implementations§
impl Freeze for SystemAudioEventData
impl RefUnwindSafe for SystemAudioEventData
impl Send for SystemAudioEventData
impl Sync for SystemAudioEventData
impl Unpin for SystemAudioEventData
impl UnsafeUnpin for SystemAudioEventData
impl UnwindSafe for SystemAudioEventData
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