Enum onejoker::poker::hand_value::HandLevelActionRazz
source · pub enum HandLevelActionRazz {
QualifiedNoPair = 1,
QualifiedPair = 2,
QualifiedTwoPair = 3,
QualifiedTrips = 4,
QualifiedFullHouse = 5,
QualifiedQuads = 6,
UnqualifiedNoPair = 7,
UnqualifiedPair = 8,
UnqualifiedTwoPair = 9,
UnqualifiedTrips = 10,
UnqualifiedFullHouse = 11,
UnqualifiedQuads = 12,
}
Expand description
wiki | Action Razz hand levels Action Razz: any “qualified” hand with paint beats any “unqualified” hand.
Variants§
QualifiedNoPair = 1
QualifiedPair = 2
QualifiedTwoPair = 3
QualifiedTrips = 4
QualifiedFullHouse = 5
QualifiedQuads = 6
UnqualifiedNoPair = 7
UnqualifiedPair = 8
UnqualifiedTwoPair = 9
UnqualifiedTrips = 10
UnqualifiedFullHouse = 11
UnqualifiedQuads = 12
Trait Implementations§
source§impl Clone for HandLevelActionRazz
impl Clone for HandLevelActionRazz
source§fn clone(&self) -> HandLevelActionRazz
fn clone(&self) -> HandLevelActionRazz
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HandLevelActionRazz
impl Debug for HandLevelActionRazz
source§impl HandLevelTrait for HandLevelActionRazz
impl HandLevelTrait for HandLevelActionRazz
source§fn from_index(i: u32) -> Self
fn from_index(i: u32) -> Self
Convert an integer index to a level.
source§fn best() -> HandLevelActionRazz
fn best() -> HandLevelActionRazz
Level representing the best hand: this is the lowest number.
source§fn worst() -> HandLevelActionRazz
fn worst() -> HandLevelActionRazz
Level representing the worst hand: this is the highest number.
source§impl PartialEq for HandLevelActionRazz
impl PartialEq for HandLevelActionRazz
source§fn eq(&self, other: &HandLevelActionRazz) -> bool
fn eq(&self, other: &HandLevelActionRazz) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for HandLevelActionRazz
impl PartialOrd for HandLevelActionRazz
source§fn partial_cmp(&self, other: &HandLevelActionRazz) -> Option<Ordering>
fn partial_cmp(&self, other: &HandLevelActionRazz) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for HandLevelActionRazz
impl StructuralPartialEq for HandLevelActionRazz
Auto Trait Implementations§
impl Freeze for HandLevelActionRazz
impl RefUnwindSafe for HandLevelActionRazz
impl Send for HandLevelActionRazz
impl Sync for HandLevelActionRazz
impl Unpin for HandLevelActionRazz
impl UnwindSafe for HandLevelActionRazz
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)