Skip to main content

compute_styles

Function compute_styles 

Source
pub fn compute_styles(
    sheets: &[StyleSheet],
    classes: &[String],
    tag: &str,
    parent_style: Option<&ComputedStyle>,
) -> ComputedStyle
Expand description

Compute styles for a set of classes + tag, cascading from multiple stylesheets.