Skip to main content

update_indices

Function update_indices 

Source
pub fn update_indices<N: CountedNodes>(
    nodes: &mut N,
    node: &N::Node,
    parent_stop: Option<usize>,
) -> Result<Indices, N::Error>
Expand description

Counts the elements under each node from node down and stores where each node’s stand: music21’s updateIndices. parent_stop is where the elements before the subtree end, if any come before it.