pub fn new(parties_that_can_get_atls:&'a Vec<PartyIndex>,markings:&'a Vec<RawBallotMarking>) -> Self {
        let cutoff = parties_that_can_get_atls.len().min(markings.len());
        RawBallotMarkings{
            atl: &markings[..cutoff],
            btl: &markings[cutoff..],
            atl_parties: parties_that_can_get_atls.as_slice()
        }
    }
/// Interpret an array of markings, atls first then btls, possibly truncated if blank.
Interpret an array of markings, atls first then btls, possibly truncated if blank.
Interpret an array of markings atls first then btls possibly truncated if blank .
pub fn new(parties_that_can_get_atls:&'a Vec<PartyIndex>,markings:&'a Vec<RawBallotMarking>) -> Self {
        let cutoff = parties_that_can_get_atls.len().min(markings.len());
        RawBallotMarkings{
            atl: &markings[..cutoff],
            btl: &markings[cutoff..],
            atl_parties: parties_that_can_get_atls.as_slice()
        }
    }
pub fn new ( parties_that_can_get_atls : & ' a Vec < PartyIndex > , markings : & ' a Vec < RawBallotMarking > ) -> Self { let cutoff = parties_that_can_get_atls . len ( ) . min ( markings . len ( ) ) ; RawBallotMarkings { atl : & markings [ .. cutoff ] , btl : & markings [ cutoff .. ] , atl_parties : parties_that_can_get_atls . as_slice ( ) } }
Interpret an array of markings, atls first then btls, possibly truncated if blank.
Interpret an array of markings atls first then btls possibly truncated if blank .
parties_that_can_get_atls
&'a Vec<PartyIndex>
markings
&'a Vec<RawBallotMarking>
parties_that_can_get_atls
&'a Vec<PartyIndex>
markings
&'a Vec<RawBallotMarking>