deckofcards::hand [] [src]

macro_rules! hand {
    () => { ... };
    ( $( $s:expr ),* ) => { ... };
}

Creates a Hand of cards from the list of abbreviated cards string specified by rank / suit,

Examples

Creates a hand containing the Queen of Hearts and Two of Diamonds.

let hand = hand!("QH", "2D");