Skip to main content

rebalance

Function rebalance 

Source
pub fn rebalance<N: AvlNodes>(
    nodes: &mut N,
    node: &N::Node,
) -> Result<N::Node, N::Error>
Expand description

Rebalances the subtree rooted on a node, answering its new centre: music21’s rebalance.