Skip to main content

for_each_content_descendant

Function for_each_content_descendant 

Source
fn for_each_content_descendant<'a, 'input: 'a>(
    node: SvgNode<'a, 'input>,
    f: &mut impl FnMut(SvgNode<'a, 'input>),
)
Expand description

Calls f for each descendant of node, skipping nested resources and other definitions. Those are only rendered where they are referenced, and resources are visited on their own.