Function onejoker::cards::hashes::ojh_base16_64cs
source ยท pub fn ojh_base16_64cs(cards: &[Card]) -> Result<u64>
Expand description
wiki | 64-bit positional rank hash
use onejoker::prelude::*;
use onejoker::cards::hashes::*;
let h = Hand::default().init(hand!("Qc","Qd","Qs","Tc","Th"));
assert_eq!(0x000D_DDAA, ojh_base16_64cs(&h[..]).unwrap());