#[repr(i32)]pub enum DiagnosticsLoggingOption {
StyleTree = 0,
RuleTree = 1,
FlowTree = 2,
StackingContextTree = 3,
ScrollTree = 4,
DisplayList = 5,
RelayoutEvent = 6,
ProfileScriptEvents = 7,
StyleStatistics = 8,
GcProfile = 9,
ProgressiveWebMetrics = 10,
AccessibilityTree = 11,
}Expand description
The set of diagnostic options that can be enabled in Servo.
Variants§
StyleTree = 0
Log the DOM after each restyle
RuleTree = 1
Log the rule tree
FlowTree = 2
Log the fragment tree after each layout
StackingContextTree = 3
Log the stacking context tree after each layout
ScrollTree = 4
Log the scroll tree (the hierarchy of scrollable areas) after each layout
DisplayList = 5
Log the display list after each layout
RelayoutEvent = 6
Log notifications when a relayout occurs
ProfileScriptEvents = 7
Periodically log on which events script threads spend their processing time
StyleStatistics = 8
Log the the hit/miss statistics for the style sharing cache after each restyle
GcProfile = 9
Log garbage collection passes and their durations
ProgressiveWebMetrics = 10
Log Progressive Web Metrics
AccessibilityTree = 11
Log the accessibility tree
Implementations§
Source§impl DiagnosticsLoggingOption
impl DiagnosticsLoggingOption
Sourcepub fn help_option(&self) -> &str
pub fn help_option(&self) -> &str
Returns a string representation of this variant that is compatible with
FromStr::from_str and DiagnosticsLogging::extend_from_string.
This value can be used as a command-line argument for an application.
Sourcepub fn help_message(&self) -> &str
pub fn help_message(&self) -> &str
Returns a string with a short description of the diagnostic option. This value can be used as a command-line argument description for an application.
Trait Implementations§
Source§impl AsRef<str> for DiagnosticsLoggingOption
impl AsRef<str> for DiagnosticsLoggingOption
Source§impl Clone for DiagnosticsLoggingOption
impl Clone for DiagnosticsLoggingOption
Source§fn clone(&self) -> DiagnosticsLoggingOption
fn clone(&self) -> DiagnosticsLoggingOption
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more