fn add(&mut self,tv:TransferValue,prov:PileProvenance<Tally>,votes:VotesWithSameTransferValue<'a>) {
        self.tally+=prov.tally;
        self.papers_came_from_counts.extend(prov.counts_comes_from.iter());
        self.transfer_value.add(tv);
        self.tv_came_from_count.add(prov.when_tv_created);
        match &mut self.sum {
            None => { self.sum=Some(votes);  }
            Some(accum) => { accum.add(&votes.votes); }
        }
    }
/// add a set of votes to the data structure.
add a set of votes to the data structure.
add a set of votes to the data structure .
fn add(&mut self,tv:TransferValue,prov:PileProvenance<Tally>,votes:VotesWithSameTransferValue<'a>) {
        self.tally+=prov.tally;
        self.papers_came_from_counts.extend(prov.counts_comes_from.iter());
        self.transfer_value.add(tv);
        self.tv_came_from_count.add(prov.when_tv_created);
        match &mut self.sum {
            None => { self.sum=Some(votes);  }
            Some(accum) => { accum.add(&votes.votes); }
        }
    }
fn add ( & mut self , tv : TransferValue , prov : PileProvenance < Tally > , votes : VotesWithSameTransferValue < ' a > ) { self . tally += prov . tally ; self . papers_came_from_counts . extend ( prov . counts_comes_from . iter ( ) ) ; self . transfer_value . add ( tv ) ; self . tv_came_from_count . add ( prov . when_tv_created ) ; match & mut self . sum { None => { self . sum = Some ( votes ) ; } Some ( accum ) => { accum . add ( & votes . votes ) ; } } }
add a set of votes to the data structure.
add a set of votes to the data structure .
&mut self
tv
TransferValue
prov
PileProvenance<Tally>
votes
VotesWithSameTransferValue<'a>
&mut self
tv
TransferValue
prov
PileProvenance<Tally>
votes
VotesWithSameTransferValue<'a>