Skip to main content

settings_model/
lib.rs

1//! What settings are, as data: where a typed setting lives and how far it travels
2//! ([`Scope`], [`SettingsSchema`]), which kind of device reads it ([`DeviceClass`]), the names a
3//! theme is chosen by ([`theme`]), the sections every app reads ([`text_assistance`],
4//! [`appearance`], [`accessibility`], [`day_schedule`], [`control_hints`],
5//! [`personal_dictionary`]) and the document a host installs for its process to read
6//! ([`source`]).
7//!
8//! It keeps no file and draws nothing, so it builds for WebAssembly: `settings-store` keeps the
9//! person's document and its typed keys, the toolkit reads and draws it.
10
11pub mod accessibility;
12pub mod appearance;
13pub mod control_hints;
14pub mod day_schedule;
15mod device_class;
16pub mod dock_edge;
17pub mod personal_dictionary;
18mod schema;
19pub mod source;
20pub mod text_assistance;
21pub mod theme;
22
23pub use device_class::DeviceClass;
24pub use schema::{
25    APP_DEVICE_LOCAL_SECTION, APP_PERSONAL_SECTION, MAX_PERSONAL_VALUE_BYTES, Scope, SettingsSchema,
26};
27
28#[doc(hidden)]
29pub use serde_json as __serde_json;