Module prefs

Module prefs 

Source

Structsยง

CmdArgs ๐Ÿ”’
ServoShellPreferences ๐Ÿ”’

Enumsยง

ArgumentParsingResult ๐Ÿ”’
ParseResolutionError ๐Ÿ”’

Staticsยง

EXPERIMENTAL_PREFS ๐Ÿ”’

Functionsยง

cmd_args ๐Ÿ”’
default_config_dir
flag_with_default_parser ๐Ÿ”’
This is a helper function that fulfills the following parsing task check for long/short cmd. If there is the flag with this If the flag is not there, parse None`` If the flag is there but no argument, parse Some(default)` If the flag is there and an argument parse the arugment
get_preferences ๐Ÿ”’
Get a Servo Preferences to use when initializing Servo by first reading the user preferences file and then overriding these preferences with the ones from the --prefs-file command-line argument, if given.
map_debug_options ๐Ÿ”’
parse_command_line_arguments ๐Ÿ”’
parse_resolution_string ๐Ÿ”’
Parse a resolution string into a Size2D.
parse_user_stylesheets ๐Ÿ”’
Parse stylesheets into the byte stream.
print_debug_options_usage ๐Ÿ”’
profile ๐Ÿ”’
read_prefs_file ๐Ÿ”’
read_prefs_map
update_preferences_from_command_line_arguemnts ๐Ÿ”’
userscripts ๐Ÿ”’
webdriver_port ๐Ÿ”’