Skip to main content

transparent_clones

Function transparent_clones 

Source
fn transparent_clones<I, G>(
    source: &[Transformed<Node<I, G>, G>],
    len: usize,
) -> Vec<Transformed<Node<I, G>, G>>
where I: Opacity + Clone, G: Clone,
Expand description

Grow source to len entries by cloning entries and marking every clone transparent — the absence rule of Alignable::align_with for child lists that have nothing of their own to repeat.