Struct style::context::StyleSystemOptions [] [src]

pub struct StyleSystemOptions {
    pub disable_style_sharing_cache: bool,
    pub dump_style_statistics: bool,
    pub style_statistics_threshold: usize,
}

A global options structure for the style system. We use this instead of opts to abstract across Gecko and Servo.

Fields

Whether the style sharing cache is disabled.

Whether we should dump statistics about the style system.

The minimum number of elements that must be traversed to trigger a dump of style statistics.

Methods

impl StyleSystemOptions
[src]

[src]

On Gecko's nightly build?

Trait Implementations

impl Clone for StyleSystemOptions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for StyleSystemOptions
[src]

[src]

Returns the "default value" for a type. Read more