Crate servo_config

Crate servo_config 

Source
Expand description

This crate provides two mechanisms for configuring the behaviour of the Servo engine.

  • The opts module exposes a set of global flags that are initialized once and cannot be changed at runtime.
  • The prefs module provides a mechanism to get and set global preference values that can be changed at runtime.

Modules§

opts
Options are global configuration options that are initialized once and cannot be changed at runtime.
pref_util
prefs
Preferences are the global configuration options that can be changed at runtime.

Macros§

pref
A convenience macro for accessing a preference value using its static path. Passing an invalid path is a compile-time error.