macro_rules! combine_hands {
    ( $( $h: expr),* ) => { ... };
}
Expand description

Creates a new Hand that is the combination two hands into one hand. This does not consume the original hands.

Examples

Combine hand1 and hand2 into a new hand_combined.

use deckofcards::Hand;
let hand1 = hand!("AS", "KD");
let hand2 = hand!("QH", "3C", "4S");
let hand_combined = combine_hands!(&hand1, &hand2);