use IntoEnumIterator;
use crate;
use crateHand;
/// Finds the ranks of the flush cards in a `hand` in the order they were passed
/// if a flush exists or returns None if a hand does not contain a flush.
///
/// # Arguments
///
/// * `hand` - A hand of cards.
///
/// # Returns
///
/// * The ranks of the flush cards in the order they were passed if a flush
/// exists or None if not.