fn value_card_by_rank(card: &Card) -> u8 {
    match *card {
        Joker => 255,
        RegularCard(suit, val) => 4 * val + suit_to_int(suit)
    }
}
/// assign a value to each card, with the value given higher weight than the suit
assign a value to each card, with the value given higher weight than the suit
assign a value to each card with the value given higher weight than the suit
fn value_card_by_rank(card: &Card) -> u8 {
    match *card {
        Joker => 255,
        RegularCard(suit, val) => 4 * val + suit_to_int(suit)
    }
}
fn value_card_by_rank ( card : & Card ) -> u8 { match * card { Joker => 255 , RegularCard ( suit , val ) => 4 * val + suit_to_int ( suit ) } }
assign a value to each card, with the value given higher weight than the suit
assign a value to each card with the value given higher weight than the suit
card
&Card
card
&Card