fn merge_iterators_to_lead_head<T: CoursingOrderIterator, S: CoursingOrderIterator>(
    bell_iter: &mut T,
    place_iter: &mut S,
    stage: Stage,
) -> Change {
    let mut vec: Vec<Bell> = vec![Bell::from(0); stage.as_usize()];

    for _ in 0..bell_iter.length() {
        vec[place_iter.next().as_usize()] = bell_iter.next();
    }

    Change::new(vec)
}
/// Combine two [CoursingOrderIterator]s together (one generating the [Place]s and the other
/// generating the [Bell]s) into one lead head, filling all the other [Place]s with the bells from
/// rounds.  Used internally to generate the lead heads from [CoursingOrder]s.
Combine two [CoursingOrderIterator]s together (one generating the [Place]s and the other
generating the [Bell]s) into one lead head, filling all the other [Place]s with the bells from
rounds.  Used internally to generate the lead heads from [CoursingOrder]s.
Combine two [ CoursingOrderIterator ] s together ( one generating the [ Place ] s and the other generating the [ Bell ] s ) into one lead head filling all the other [ Place ] s with the bells from rounds . Used internally to generate the lead heads from [ CoursingOrder ] s .
fn merge_iterators_to_lead_head<T: CoursingOrderIterator, S: CoursingOrderIterator>(
    bell_iter: &mut T,
    place_iter: &mut S,
    stage: Stage,
) -> Change {
    let mut vec: Vec<Bell> = vec![Bell::from(0); stage.as_usize()];
    for _ in 0..bell_iter.length() {
        vec[place_iter.next().as_usize()] = bell_iter.next();
    }
    Change::new(vec)
}
fn merge_iterators_to_lead_head < T : CoursingOrderIterator , S : CoursingOrderIterator > ( bell_iter : & mut T , place_iter : & mut S , stage : Stage , ) -> Change { let mut vec : Vec < Bell > = vec ! [ Bell from ( 0 ) stage as_usize ( ) ] ; for _ in 0 .. bell_iter . length ( ) { vec [ place_iter . next ( ) . as_usize ( ) ] = bell_iter . next ( ) ; } Change :: new ( vec ) }
Combine two [CoursingOrderIterator]s together (one generating the [Place]s and the other
generating the [Bell]s) into one lead head, filling all the other [Place]s with the bells from
rounds.
Combine two [ CoursingOrderIterator ] s together ( one generating the [ Place ] s and the other generating the [ Bell ] s ) into one lead head filling all the other [ Place ] s with the bells from rounds .
bell_iter
&mut T
place_iter
&mut S
stage
Stage
bell_iter
&mut T
place_iter
&mut S
stage
Stage