Struct onejoker::poker::high_hand::HandEvaluatorHigh
source · pub struct HandEvaluatorHigh { /* private fields */ }
Expand description
wiki | Traditional “high” poker hand evaluator Data for high-hand evaluator
Implementations§
source§impl HandEvaluatorHigh
impl HandEvaluatorHigh
sourcepub fn new() -> HandEvaluatorHigh
pub fn new() -> HandEvaluatorHigh
Create a new HandEvaluatorHigh object.
Trait Implementations§
source§impl Default for HandEvaluatorHigh
impl Default for HandEvaluatorHigh
source§impl HandEvaluatorTrait<HandValue<HandLevelHigh>> for HandEvaluatorHigh
impl HandEvaluatorTrait<HandValue<HandLevelHigh>> for HandEvaluatorHigh
source§fn reference_evaluator(&self, hand: &Hand) -> aResult<HandValueHigh>
fn reference_evaluator(&self, hand: &Hand) -> aResult<HandValueHigh>
Evaluate traditional high poker hands.
source§fn lookup_evaluator(&self, h: &Hand) -> aResult<HandValue<HandLevelHigh>>
fn lookup_evaluator(&self, h: &Hand) -> aResult<HandValue<HandLevelHigh>>
Fast lookup-table based evaluator.
source§fn partial_evaluator(&self, h: &Hand) -> aResult<V>
fn partial_evaluator(&self, h: &Hand) -> aResult<V>
Evaluator for partial hands, for determining stud betting, etc.
source§fn fast_value(&self, h: &Hand) -> u64
fn fast_value(&self, h: &Hand) -> u64
Fast no-frills evaluator if all you care about is what wins.
Auto Trait Implementations§
impl Freeze for HandEvaluatorHigh
impl RefUnwindSafe for HandEvaluatorHigh
impl Send for HandEvaluatorHigh
impl Sync for HandEvaluatorHigh
impl Unpin for HandEvaluatorHigh
impl UnwindSafe for HandEvaluatorHigh
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more