SettingRow

Enum SettingRow 

Source
pub(crate) enum SettingRow {
Show 92 variants SquelchA, SquelchB, StepSizeA, StepSizeB, FineStep, FilterWidthSsb, FilterWidthCw, FilterWidthAm, FmNarrow, SsbHighCut, CwHighCut, AmHighCut, AutoFilter, ScanResume, DigitalScanResume, ScanRestartTime, ScanRestartCarrier, TimeoutTimer, TxInhibit, BeatShift, VoxEnabled, VoxGain, VoxDelay, VoxTxOnBusy, CwBreakIn, CwDelayTime, CwPitch, DtmfSpeed, DtmfPauseTime, DtmfTxHold, RepeaterAutoOffset, RepeaterCallKey, MicSensitivity, PfKey1, PfKey2, Lock, KeyLockType, LockKeyA, LockKeyB, LockKeyC, LockPtt, AprsLock, DualDisplaySize, DisplayArea, InfoLine, BacklightControl, BacklightTimer, DisplayHoldTime, DisplayMethod, PowerOnDisplay, DualBand, EmrVolumeLevel, AutoMuteReturnTime, Announce, KeyBeep, BeepVolume, VoiceLanguage, VoiceVolume, VoiceSpeed, VolumeLock, SpeedDistanceUnit, AltitudeRainUnit, TemperatureUnit, Bluetooth, BtAutoConnect, GpsBtInterface, PcOutputMode, AprsUsbMode, UsbAudioOutput, InternetLink, Language, PowerOnMessageFlag, BatterySaver, AutoPowerOff, PowerA, PowerB, AttenuatorA, AttenuatorB, ModeA, ModeB, ActiveBand, VfoMemModeA, VfoMemModeB, FmRadio, TncBaud, BeaconType, GpsEnabled, GpsPcOutput, AutoInfo, CallsignSlot, DstarSlot, ScanResumeCat,
}
Expand description

Settings row identifiers for the interactive settings list.

Organized by the radio’s menu groups. Settings backed by CAT commands are noted; all others modify the in-memory MCP image and require an MCP write to take effect.

Variants§

§

SquelchA

Squelch level Band A (CAT: SQ band,level).

§

SquelchB

Squelch level Band B (CAT: SQ band,level).

§

StepSizeA

Step size Band A (CAT: SF read/write).

§

StepSizeB

Step size Band B (CAT: SF read/write).

§

FineStep

Fine step (CAT: FS read-only, no band parameter).

§

FilterWidthSsb

Filter width SSB (CAT: SH read-only).

§

FilterWidthCw

Filter width CW (CAT: SH read-only).

§

FilterWidthAm

Filter width AM (CAT: SH read-only).

§

FmNarrow

FM narrow (MCP only).

§

SsbHighCut

SSB high-cut filter (MCP only).

§

CwHighCut

CW high-cut filter (MCP only).

§

AmHighCut

AM high-cut filter (MCP only).

§

AutoFilter

Auto filter (MCP only).

§

ScanResume

Scan resume mode (MCP only).

§

DigitalScanResume

Digital scan resume (MCP only).

§

ScanRestartTime

Scan restart time (MCP only).

§

ScanRestartCarrier

Scan restart carrier (MCP only).

§

TimeoutTimer

Timeout timer (MCP only).

§

TxInhibit

TX inhibit (MCP only).

§

BeatShift

Beat shift (MCP only).

§

VoxEnabled

VOX enabled (CAT: VX).

§

VoxGain

VOX gain 0-9 (CAT: VG).

§

VoxDelay

VOX delay ×100ms (CAT: VD).

§

VoxTxOnBusy

VOX TX on busy (MCP only).

§

CwBreakIn

CW break-in (MCP only).

§

CwDelayTime

CW delay time (MCP only).

§

CwPitch

CW pitch (MCP only).

§

DtmfSpeed

DTMF speed (MCP only).

§

DtmfPauseTime

DTMF pause time (MCP only).

§

DtmfTxHold

DTMF TX hold (MCP only).

§

RepeaterAutoOffset

Repeater auto offset (MCP only).

§

RepeaterCallKey

Repeater call key function (MCP only).

§

MicSensitivity

Microphone sensitivity (MCP only).

§

PfKey1

PF key 1 assignment (MCP only).

§

PfKey2

PF key 2 assignment (MCP only).

§

Lock

Lock (CAT: LC).

§

KeyLockType

Key lock type (MCP only).

§

LockKeyA

Lock key A (MCP only).

§

LockKeyB

Lock key B (MCP only).

§

LockKeyC

Lock key C (MCP only).

§

LockPtt

Lock PTT (MCP only).

§

AprsLock

APRS lock (MCP only).

§

DualDisplaySize

Dual display size (MCP only).

§

DisplayArea

Display area (MCP only).

§

InfoLine

Info line (MCP only).

§

BacklightControl

Backlight control (MCP only).

§

BacklightTimer

Backlight timer (MCP only).

§

DisplayHoldTime

Display hold time (MCP only).

§

DisplayMethod

Display method (MCP only).

§

PowerOnDisplay

Power-on display (MCP only).

§

DualBand

Dual band (CAT: DL).

§

EmrVolumeLevel

EMR volume level (MCP only).

§

AutoMuteReturnTime

Auto mute return time (MCP only).

§

Announce

Announce (MCP only).

§

KeyBeep

Key beep (MCP only).

§

BeepVolume

Beep volume 1-7 (MCP only).

§

VoiceLanguage

Voice language (MCP only).

§

VoiceVolume

Voice volume (MCP only).

§

VoiceSpeed

Voice speed (MCP only).

§

VolumeLock

Volume lock (MCP only).

§

SpeedDistanceUnit

Speed/distance unit (MCP only).

§

AltitudeRainUnit

Altitude/rain unit (MCP only).

§

TemperatureUnit

Temperature unit (MCP only).

§

Bluetooth

Bluetooth (CAT: BT).

§

BtAutoConnect

Bluetooth auto-connect (MCP only).

§

GpsBtInterface

GPS/BT interface (MCP only).

§

PcOutputMode

PC output mode (MCP only).

§

AprsUsbMode

APRS USB mode (MCP only).

§

UsbAudioOutput

USB audio output (MCP only).

Internet link (MCP only).

§

Language

Language (MCP only).

§

PowerOnMessageFlag

Power-on message flag (MCP only).

§

BatterySaver

Battery saver (MCP only).

§

AutoPowerOff

Auto power off (MCP only).

§

PowerA

Power level Band A (CAT: PC).

§

PowerB

Power level Band B (CAT: PC).

§

AttenuatorA

Attenuator Band A (CAT: RA).

§

AttenuatorB

Attenuator Band B (CAT: RA).

§

ModeA

Mode Band A (CAT: MD).

§

ModeB

Mode Band B (CAT: MD).

§

ActiveBand

Active band A/B (CAT: BC).

§

VfoMemModeA

VFO/Memory mode Band A (CAT: VM).

§

VfoMemModeB

VFO/Memory mode Band B (CAT: VM).

§

FmRadio

FM Radio on/off (CAT: FR).

§

TncBaud

TNC baud rate (CAT: AS).

§

BeaconType

Beacon type (CAT: PT).

§

GpsEnabled

GPS enabled (CAT: GP).

§

GpsPcOutput

GPS PC output (CAT: GP).

§

AutoInfo

Auto-info notifications (CAT: AI).

§

CallsignSlot

D-STAR callsign slot (CAT: CS).

§

DstarSlot

D-STAR slot (CAT: DS).

§

ScanResumeCat

Scan resume method (CAT: SR write-only).

Implementations§

Source§

impl SettingRow

Source

pub(crate) const ALL: [Self; 92]

All settings rows in display order.

Source

pub(crate) const fn label(self) -> &'static str

Human-readable label for the setting.

Source

pub(crate) const fn section_header(self) -> Option<&'static str>

Section header label shown above this row. None means same group as previous row.

Source

pub(crate) const fn is_numeric(self) -> bool

True if this setting is adjusted with +/- rather than toggled with Enter.

Source

pub(crate) const fn is_cat(self) -> bool

True if this setting is writable via instant CAT command (no disconnect).

Trait Implementations§

Source§

impl Clone for SettingRow

Source§

fn clone(&self) -> SettingRow

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SettingRow

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for SettingRow

Source§

fn eq(&self, other: &SettingRow) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for SettingRow

Source§

impl Eq for SettingRow

Source§

impl StructuralPartialEq for SettingRow

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more