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
disable_style_sharing_cache: bool
Whether the style sharing cache is disabled.
dump_style_statistics: bool
Whether we should dump statistics about the style system.
style_statistics_threshold: usize
The minimum number of elements that must be traversed to trigger a dump of style statistics.
Methods
impl StyleSystemOptions
[src]
pub fn is_nightly(&self) -> bool
[src]
On Gecko's nightly build?
Trait Implementations
impl Clone for StyleSystemOptions
[src]
fn clone(&self) -> StyleSystemOptions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more