Module servo_config::opts [] [src]

Configuration options for a single run of the servo application. Created from command line arguments.

Reexports

use euclid::TypedSize2D;
use getopts::Options;
use num_cpus;
use prefs;
use prefs::PrefValue;
use prefs::PREFS;
use resource_files::set_resources_path;
use servo_geometry::DeviceIndependentPixel;
use servo_url::ServoUrl;
use std::borrow::Cow;
use std::cmp;
use std::default::Default;
use std::env;
use std::fs;
use std::fs::File;
use std::io;
use std::io::Read;
use std::io::Write;
use std::path::Path;
use std::path::PathBuf;
use std::process;
use std::sync::atomic::AtomicBool;
use std::sync::atomic::ATOMIC_BOOL_INIT;
use std::sync::atomic::Ordering;
use url;
use url::Url;

Structs

DebugOptions

Debug options for Servo, currently set on the command line with -Z

OPTIONS
Opts

Global flags for Servo, currently set on the command line.

Enums

ArgumentParsingResult
OutputOptions
UserAgent

Constants

DEFAULT_USER_AGENT
INVALID_OPTIONS
_IMPL_DESERIALIZE_FOR_Opts
_IMPL_DESERIALIZE_FOR_OutputOptions
_IMPL_SERIALIZE_FOR_Opts
_IMPL_SERIALIZE_FOR_OutputOptions

Statics

DEFAULT_OPTIONS
MULTIPROCESS

Functions

args_fail
default_opts
default_user_agent_string
from_cmdline_args
get
multiprocess
parse_pref_from_command_line
parse_url_or_filename
print_debug_usage
print_usage
set_defaults