Skip to main content

expand_with_transparent_repeats

Function expand_with_transparent_repeats 

Source
fn expand_with_transparent_repeats<I, G>(
    nodes: &mut Vec<Transformed<Node<I, G>, G>>,
    len: usize,
)
where I: Opacity + Clone, G: Clone,
Expand description

Expand nodes in place to len entries, preserving order; repeated stand-ins become fully transparent via set_opacity(0.0), matching the Vec<T> align blanket in ranim-core.