Function style::parallel::style_trees

source ยท
pub fn style_trees<'a, 'scope, E, D>(
    context: &mut StyleContext<'_, E>,
    discovered: VecDeque<SendNode<E::ConcreteNode>>,
    traversal_root: OpaqueNode,
    work_unit_max: usize,
    traversal_data: PerLevelTraversalData,
    scope: Option<&'a ScopeFifo<'scope>>,
    traversal: &'scope D,
    tls: &'scope ScopedTLS<'scope, ThreadLocalStyleContext<E>>,
)
where E: TElement + 'scope, D: DomTraversal<E>,
Expand description

Processes discovered items, possibly spawning work in other threads as needed.