pub enum AudioCapture {
SystemMix,
Microphone(SourceId),
}Expand description
What to capture audio from.
Variants§
SystemMix
Everything the system plays (loopback / sink monitor).
Microphone(SourceId)
A microphone device (not implemented by any backend yet).
Trait Implementations§
Source§impl Clone for AudioCapture
impl Clone for AudioCapture
Source§fn clone(&self) -> AudioCapture
fn clone(&self) -> AudioCapture
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 moreSource§impl Debug for AudioCapture
impl Debug for AudioCapture
impl Eq for AudioCapture
Source§impl PartialEq for AudioCapture
impl PartialEq for AudioCapture
Source§fn eq(&self, other: &AudioCapture) -> bool
fn eq(&self, other: &AudioCapture) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AudioCapture
Auto Trait Implementations§
impl Freeze for AudioCapture
impl RefUnwindSafe for AudioCapture
impl Send for AudioCapture
impl Sync for AudioCapture
impl Unpin for AudioCapture
impl UnsafeUnpin for AudioCapture
impl UnwindSafe for AudioCapture
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