pub struct AudioDevice {
pub name: String,
pub is_default: bool,
}Expand description
Information about an available audio input device.
Fields§
§name: StringName of the audio device
is_default: boolWhether this is the default input device
Trait Implementations§
Source§impl Clone for AudioDevice
impl Clone for AudioDevice
Source§fn clone(&self) -> AudioDevice
fn clone(&self) -> AudioDevice
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AudioDevice
impl RefUnwindSafe for AudioDevice
impl Send for AudioDevice
impl Sync for AudioDevice
impl Unpin for AudioDevice
impl UnwindSafe for AudioDevice
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