pub struct AudioDevicesEvent {
pub descs: Vec<AudioDeviceDesc>,
}
Fields§
§descs: Vec<AudioDeviceDesc>
Implementations§
Source§impl AudioDevicesEvent
impl AudioDevicesEvent
pub fn default_input(&self) -> Vec<AudioDeviceId>
pub fn default_output(&self) -> Vec<AudioDeviceId>
pub fn match_outputs(&self, outputs: &[&str]) -> Vec<AudioDeviceId>
pub fn match_inputs(&self, inputs: &[&str]) -> Vec<AudioDeviceId>
Trait Implementations§
Source§impl Clone for AudioDevicesEvent
impl Clone for AudioDevicesEvent
Source§fn clone(&self) -> AudioDevicesEvent
fn clone(&self) -> AudioDevicesEvent
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 moreSource§impl Debug for AudioDevicesEvent
impl Debug for AudioDevicesEvent
Auto Trait Implementations§
impl Freeze for AudioDevicesEvent
impl RefUnwindSafe for AudioDevicesEvent
impl Send for AudioDevicesEvent
impl Sync for AudioDevicesEvent
impl Unpin for AudioDevicesEvent
impl UnwindSafe for AudioDevicesEvent
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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