Struct goxlr_client::cli::MicrophoneControls
source · [−]pub struct MicrophoneControls {
pub dynamic_gain: Option<u16>,
pub condenser_gain: Option<u16>,
pub jack_gain: Option<u16>,
}
Fields
dynamic_gain: Option<u16>
Set the gain of the plugged in dynamic (XLR) microphone. Value is in decibels and recommended to be lower than 72dB.
condenser_gain: Option<u16>
Set the gain of the plugged in condenser (XLR with phantom power) microphone. Value is in decibels and recommended to be lower than 72dB.
jack_gain: Option<u16>
Set the gain of the plugged in jack (3.5mm) microphone. Value is in decibels and recommended to be lower than 72dB.
Trait Implementations
sourceimpl Args for MicrophoneControls
impl Args for MicrophoneControls
sourcefn augment_args<'b>(__clap_app: App<'b>) -> App<'b>
fn augment_args<'b>(__clap_app: App<'b>) -> App<'b>
Append to [App
] so it can instantiate Self
. Read more
sourcefn augment_args_for_update<'b>(__clap_app: App<'b>) -> App<'b>
fn augment_args_for_update<'b>(__clap_app: App<'b>) -> App<'b>
Append to [App
] so it can update self
. Read more
sourceimpl Debug for MicrophoneControls
impl Debug for MicrophoneControls
sourceimpl FromArgMatches for MicrophoneControls
impl FromArgMatches for MicrophoneControls
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Instantiate Self
from [ArgMatches
], parsing the arguments as needed. Read more
sourcefn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
Assign values from ArgMatches
to self
.
Auto Trait Implementations
impl RefUnwindSafe for MicrophoneControls
impl Send for MicrophoneControls
impl Sync for MicrophoneControls
impl Unpin for MicrophoneControls
impl UnwindSafe for MicrophoneControls
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more