Function style::sharing::checks::have_same_parts

source ·
pub fn have_same_parts<E>(
    target: &mut StyleSharingTarget<E>,
    candidate: &mut StyleSharingCandidate<E>,
) -> bool
where E: TElement,
Expand description

Whether a given element has the same part attribute as a given candidate.

We don’t try to share style across elements with different part attributes.