DisplaySettings

Struct DisplaySettings 

Source
pub struct DisplaySettings {
    pub backlight_control: BacklightControl,
    pub backlight_timer: u8,
    pub lcd_brightness: u8,
    pub background_color: BackgroundColor,
    pub power_on_message: PowerOnMessage,
    pub single_band_display: bool,
    pub meter_type: MeterType,
    pub display_method: DisplayMethod,
    pub led_control: LedControl,
    pub info_backlight: bool,
    pub display_hold_time: DisplayHoldTime,
}
Expand description

Display and illumination settings.

Controls the TH-D75’s LCD backlight, color theme, power-on message, and meter display. Derived from capability gap analysis features 159-169.

  • Menu No. 900: Backlight control — Auto (keys/encoder turn on, timer turns off; also lights on APRS interrupt or scan pause), Auto (DC-IN) (same as Auto on battery, always-on on DC), Manual (only [Power] toggles), On (always on).
  • Menu No. 901: Backlight timer — 3 to 60 seconds, default 10.
  • Menu No. 902: LCD brightness — High / Medium / Low.
  • Menu No. 903: Power-on message — up to 16 characters, default “HELLO !!”. Displayed for approximately 2 seconds at power-on. MCP-D75 software can also set a custom bitmap graphic.
  • Menu No. 904: Single Band Display — Off / GPS(Altitude) / GPS(GS) / Date / Demodulation Mode.
  • Menu No. 905: Meter Type — Type 1 / Type 2 / Type 3 (S/RF meter design variants).
  • Menu No. 906: Background Color — Black / White.
  • Menu No. 907: Info Backlight — Off / LCD / LCD+Key. Controls whether the backlight turns on for APRS or D-STAR interrupt display and scan pause/stop events.

Fields§

§backlight_control: BacklightControl

LCD backlight control mode.

§backlight_timer: u8

Backlight auto-off timer in seconds (0 = always on).

§lcd_brightness: u8

LCD brightness level (1-6, 1 = dimmest, 6 = brightest).

§background_color: BackgroundColor

Background color theme.

§power_on_message: PowerOnMessage

Power-on message displayed at startup (up to 16 characters).

§single_band_display: bool

Single-band display mode (show only one band at a time).

§meter_type: MeterType

S-meter and power meter display type.

§display_method: DisplayMethod

Display method for the dual-band screen.

§led_control: LedControl

LED indicator control.

§info_backlight: bool

Info backlight on receive.

§display_hold_time: DisplayHoldTime

Display hold time for transient information (seconds).

Trait Implementations§

Source§

impl Clone for DisplaySettings

Source§

fn clone(&self) -> DisplaySettings

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 DisplaySettings

Source§

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

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

impl Default for DisplaySettings

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for DisplaySettings

Source§

fn eq(&self, other: &DisplaySettings) -> 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 Eq for DisplaySettings

Source§

impl StructuralPartialEq for DisplaySettings

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
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> 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