Function onejoker::cards::card::oj_cards_from_text

source ·
pub fn oj_cards_from_text(text: &str) -> impl Iterator<Item = Card> + '_
Expand description

If the given string begins with a card representation (e.g. “Qd”), return it and the string position immediately after so we can step through a string to get a whole hand.