pub enum InputMonitoringMode {
Off,
Normal,
NotWhenPlaying,
}Expand description
Describes whether and how the recording input is monitored.
Variants§
Off
No input monitoring.
Normal
Monitoring happens always.
NotWhenPlaying
Monitoring only happens when playing (tape style).
Implementations§
Source§impl InputMonitoringMode
impl InputMonitoringMode
Sourcepub fn try_from_raw(v: i32) -> Result<InputMonitoringMode, TryFromRawError<i32>>
pub fn try_from_raw(v: i32) -> Result<InputMonitoringMode, TryFromRawError<i32>>
Converts an integer as returned by the low-level API to an input monitoring mode.
Trait Implementations§
Source§impl Clone for InputMonitoringMode
impl Clone for InputMonitoringMode
Source§fn clone(&self) -> InputMonitoringMode
fn clone(&self) -> InputMonitoringMode
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 moreSource§impl Debug for InputMonitoringMode
impl Debug for InputMonitoringMode
Source§impl Hash for InputMonitoringMode
impl Hash for InputMonitoringMode
Source§impl PartialEq for InputMonitoringMode
impl PartialEq for InputMonitoringMode
impl Copy for InputMonitoringMode
impl Eq for InputMonitoringMode
impl StructuralPartialEq for InputMonitoringMode
Auto Trait Implementations§
impl Freeze for InputMonitoringMode
impl RefUnwindSafe for InputMonitoringMode
impl Send for InputMonitoringMode
impl Sync for InputMonitoringMode
impl Unpin for InputMonitoringMode
impl UnwindSafe for InputMonitoringMode
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