Expand description
Trait and supporting types for defining individual settings.
Each setting is a small struct that implements SettingKind. The trait
encapsulates everything a SettingRow
needs to know: the row label, the current display value, which widget to
render (ActionLabel, Toggle, or SubMenu), and which event to fire on tap.
SettingIdentity is the single, deduplicated identity enum used by
SettingsEvent::UpdateValue to
target the correct SettingValue view.
Re-exports§
pub use identity::SettingIdentity;
Modules§
- general
- Setting kinds for the General category.
- identity
- Single, deduplicated identity enum for all settings.
- import
- Setting kinds for the Import category.
- intermission
- Setting kinds for the Intermissions category.
- library
- Setting kinds for the Libraries category.
- reader
- Setting kinds for the Reader category.
- telemetry
- Setting kinds for the Telemetry category.
Structs§
- Setting
Data - All data needed to build and update the value side of a setting row.
Enums§
- Toggle
Settings - Identifies which boolean setting a toggle widget controls.
- Widget
Kind - Describes how the value side of a setting row should be rendered.
Traits§
- Input
Setting Kind - Extended trait for settings that accept free-form text input via a
NamedInputoverlay. - Setting
Kind - A self-contained description of a single setting.