pub enum PeakTarget {
Sink(String),
Source(String),
Stream(u32),
}Expand description
What a peak meter listens to, for Audio::peaks.
Variants§
Sink(String)
The sink called this, through its monitor: what it plays.
Source(String)
The source called this, such as a microphone or a sink’s monitor.
Stream(u32)
The stream numbered this: what that app plays.
Trait Implementations§
Source§impl Clone for PeakTarget
impl Clone for PeakTarget
Source§impl Debug for PeakTarget
impl Debug for PeakTarget
impl Eq for PeakTarget
Source§impl IntoProp<Option<PeakTarget>> for PeakTarget
A target that stays.
impl IntoProp<Option<PeakTarget>> for PeakTarget
A target that stays.
Source§impl PartialEq for PeakTarget
impl PartialEq for PeakTarget
impl StructuralPartialEq for PeakTarget
Auto Trait Implementations§
impl Forget for PeakTarget
impl Freeze for PeakTarget
impl Move for PeakTarget
impl RefUnwindSafe for PeakTarget
impl Send for PeakTarget
impl Sync for PeakTarget
impl Unpin for PeakTarget
impl UnsafeUnpin for PeakTarget
impl UnwindSafe for PeakTarget
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