poker_eval 0.1.0

Texas Hold'em poker hand equity evaluator
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Util functions

use num_format::{Locale, ToFormattedString};

/// Format a number with thousands separator
pub fn fmt_nb(n: u32) -> String {
    n.to_formatted_string(&Locale::en)
}

/// Check if struct has the right traits
pub fn is_normal<T: Sized + Send + Sync + Unpin>() {}