pub fn eval_5cards(cards: &[&Card; 5]) -> HandRank {
    let c1 = card_to_deck_number(cards[0]);
    let c2 = card_to_deck_number(cards[1]);
    let c3 = card_to_deck_number(cards[2]);
    let c4 = card_to_deck_number(cards[3]);
    let c5 = card_to_deck_number(cards[4]);

    let converted_cards = [&c1, &c2, &c3, &c4, &c5];
    original::eval_5cards_kev_array(&converted_cards)
}
/// Evalate a hand consisting of 5 cards. The cards are grouped in an array.
/// This is quite inefficient, due to the arrays that need to be created. But convenient.
Evalate a hand consisting of 5 cards. The cards are grouped in an array.
This is quite inefficient, due to the arrays that need to be created. But convenient.
Evalate a hand consisting of 5 cards . The cards are grouped in an array . This is quite inefficient due to the arrays that need to be created . But convenient .
pub fn eval_5cards(cards: &[&Card; 5]) -> HandRank {
    let c1 = card_to_deck_number(cards[0]);
    let c2 = card_to_deck_number(cards[1]);
    let c3 = card_to_deck_number(cards[2]);
    let c4 = card_to_deck_number(cards[3]);
    let c5 = card_to_deck_number(cards[4]);
    let converted_cards = [&c1, &c2, &c3, &c4, &c5];
    original::eval_5cards_kev_array(&converted_cards)
}
pub fn eval_5cards ( cards : & [ & Card ; 5 ] ) -> HandRank { let c1 = card_to_deck_number ( cards [ 0 ] ) ; let c2 = card_to_deck_number ( cards [ 1 ] ) ; let c3 = card_to_deck_number ( cards [ 2 ] ) ; let c4 = card_to_deck_number ( cards [ 3 ] ) ; let c5 = card_to_deck_number ( cards [ 4 ] ) ; let converted_cards = [ & c1 , & c2 , & c3 , & c4 , & c5 ] ; original :: eval_5cards_kev_array ( & converted_cards ) }
Evalate a hand consisting of 5 cards.
Evalate a hand consisting of 5 cards .
cards
&[&Card; 5]
cards
&[&Card; 5]