Function onejoker::cards::hashes::ojh_bitfield_64co
source ยท pub fn ojh_bitfield_64co(cards: &[Card]) -> Result<u64>
Expand description
wiki | 64-bit bitfield hash
use onejoker::prelude::*;
use onejoker::cards::hashes::*;
let h = Hand::default().init(hand!("Jc","9c","7c","5c","3c"));
assert_eq!(0x1010_1010_1000, ojh_bitfield_64co(&h[..]).unwrap());