Expand description
What an app’s root() and settings module import: the declaration types, the handle, the
row constructors as a module, and the General group.
Re-exports§
pub use crate::APPEARANCE;pub use crate::About;pub use crate::Appearance;pub use crate::Group;pub use crate::LANGUAGE;pub use crate::Preferences;pub use crate::Prefs;pub use crate::Presentation;pub use crate::Providers;pub use crate::Row;pub use crate::Section;pub use crate::appearance_row;pub use crate::general_group;pub use crate::language_row;pub use crate::rows;
Macros§
- pref_
enum - Declare an enum that round-trips through the store under short stable tags:
Structs§
- Pref
- A typed, persisted, reactive setting (docs/settings.md), declared once as a static:
Traits§
- Pref
Value - A value a
Prefcan hold: encoded to one string in the store and back. Implemented for the plain scalars and strings; enums get it frompref_enum!.