Expand description
Preferences are the global configuration options that can be changed at runtime.
Re-exports§
pub use crate::pref_util::PrefValue;
Structs§
- Preferences
- The set of global preferences supported by Servo.
Enums§
Statics§
- OBSERVERS 🔒
- PREFERENCES 🔒
Traits§
- Preferences
Observer - A trait to be implemented by components that wish to be notified about runtime changes to the global preferences for the current process.
Functions§
- add_
observer - Subscribe to notifications about changes to the global preferences for the current process.
- get
- Get the current set of global preferences for Servo.
- set
- Update the values of the global preferences for the current process. This also notifies the
observers previously added using
add_observer.