pub struct VoxGain(/* private fields */);Expand description
VOX gain level (0-9).
Controls the microphone sensitivity threshold for VOX activation.
Used by the VG CAT command. VOX must be enabled (VX 1) first.
Menu No. 151. Default: 4.
Per User Manual Chapter 12: gain 9 transmits even on a quiet voice; gain 0 effectively disables VOX triggering. A headset must be used because the internal speaker and microphone are too close together for VOX to function reliably.
Implementations§
Source§impl VoxGain
impl VoxGain
Sourcepub const fn new(value: u8) -> Result<Self, ValidationError>
pub const fn new(value: u8) -> Result<Self, ValidationError>
Creates a new VoxGain from a raw value.
§Errors
Returns ValidationError::SettingOutOfRange if value > 9.
Trait Implementations§
impl Copy for VoxGain
impl Eq for VoxGain
impl StructuralPartialEq for VoxGain
Auto Trait Implementations§
impl Freeze for VoxGain
impl RefUnwindSafe for VoxGain
impl Send for VoxGain
impl Sync for VoxGain
impl Unpin for VoxGain
impl UnwindSafe for VoxGain
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