pub struct AudioChangeSource {
pub source_uid: DeviceUid,
pub source_id: u16,
pub target_uid: DeviceUid,
pub target_id: u16,
}Expand description
An audio input-selection change: which source endpoint a sink endpoint was switched to.
The sink is named twice on the wire, once as the command header’s target and again at the head of the body; the body’s second uid is the source.
Fields§
§source_uid: DeviceUidThe device whose endpoint is being listened to.
source_id: u16The endpoint being listened to.
target_uid: DeviceUidThe device doing the listening.
target_id: u16The endpoint doing the listening.
Trait Implementations§
Source§impl Clone for AudioChangeSource
impl Clone for AudioChangeSource
Source§fn clone(&self) -> AudioChangeSource
fn clone(&self) -> AudioChangeSource
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 AudioChangeSource
Source§impl Debug for AudioChangeSource
impl Debug for AudioChangeSource
Source§impl Default for AudioChangeSource
impl Default for AudioChangeSource
Source§fn default() -> AudioChangeSource
fn default() -> AudioChangeSource
Returns the “default value” for a type. Read more
Source§impl Display for AudioChangeSource
impl Display for AudioChangeSource
impl Eq for AudioChangeSource
Source§impl PartialEq for AudioChangeSource
impl PartialEq for AudioChangeSource
impl StructuralPartialEq for AudioChangeSource
Auto Trait Implementations§
impl Freeze for AudioChangeSource
impl RefUnwindSafe for AudioChangeSource
impl Send for AudioChangeSource
impl Sync for AudioChangeSource
impl Unpin for AudioChangeSource
impl UnsafeUnpin for AudioChangeSource
impl UnwindSafe for AudioChangeSource
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