pub fn new_unshuffled() -> Deck {
        let mut d = Deck {
            count_dealt: 0,
            cards: [0; 52],
        };

        let mut value = 0;
        for x in d.cards.iter_mut() {
            *x = value;
            value += 1;
        }
        d
    }
/// Returns a deck where all cards are sorted by Suit, then by Value.
Returns a deck where all cards are sorted by Suit, then by Value.
Returns a deck where all cards are sorted by Suit then by Value .
pub fn new_unshuffled() -> Deck {
        let mut d = Deck {
            count_dealt: 0,
            cards: [0; 52],
        };
        let mut value = 0;
        for x in d.cards.iter_mut() {
            *x = value;
            value += 1;
        }
        d
    }
pub fn new_unshuffled ( ) -> Deck { let mut d = Deck { count_dealt : 0 , cards : [ 0 ; 52 ] , } ; let mut value = 0 ; for x in d . cards . iter_mut ( ) { * x = value ; value += 1 ; } d }
Returns a deck where all cards are sorted by Suit, then by Value.
Returns a deck where all cards are sorted by Suit then by Value .