Struct style::rule_cache::RuleCacheConditions
[−]
[src]
pub struct RuleCacheConditions { /* fields omitted */ }The conditions for caching and matching a style in the rule cache.
Methods
impl RuleCacheConditions[src]
pub fn set_font_size_dependency(&mut self, font_size: NonNegativeLength)[src]
Sets the style as depending in the font-size value.
pub fn set_uncacheable(&mut self)[src]
Sets the style as uncacheable.
pub fn set_writing_mode_dependency(&mut self, writing_mode: WritingMode)[src]
Sets the style as depending in the writing-mode value writing_mode.
Trait Implementations
impl Clone for RuleCacheConditions[src]
fn clone(&self) -> RuleCacheConditions[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
impl Debug for RuleCacheConditions[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Default for RuleCacheConditions[src]
fn default() -> RuleCacheConditions[src]
Returns the "default value" for a type. Read more