Skip to main content

ComponentStyleClosure

Type Alias ComponentStyleClosure 

Source
pub type ComponentStyleClosure = ComponentStyleClosure;

Aliased Type§

pub struct ComponentStyleClosure {
    pub component_tags: Vec<String>,
    pub style_chunks: Vec<u32>,
}

Fields§

§component_tags: Vec<String>

Component tags in cascade-sensitive first-discovery order.

§style_chunks: Vec<u32>

Indices into WebUIProtocol.style_chunks covering exactly the components in component_tags, in the same cascade order. Empty unless the build enabled CSS bundling. A chunk is listed only when the closure consumes every component the chunk carries, so delivering a chunk never over-delivers.