Enum onejoker::poker::hand_value::HandLevelDeuceToSeven
source · pub enum HandLevelDeuceToSeven {
NoPair = 1,
Pair = 2,
TwoPair = 3,
Trips = 4,
Straight = 5,
Flush = 6,
FullHouse = 7,
Quads = 8,
StraightFlush = 9,
}
Expand description
wiki | Deuce-to-seven lowball hand levels Deuce-to-seven lowball hands, e.g. Kansas City lowball, triple draw, etc.
Variants§
NoPair = 1
Pair = 2
TwoPair = 3
Trips = 4
Straight = 5
Flush = 6
FullHouse = 7
Quads = 8
StraightFlush = 9
Trait Implementations§
source§impl Clone for HandLevelDeuceToSeven
impl Clone for HandLevelDeuceToSeven
source§fn clone(&self) -> HandLevelDeuceToSeven
fn clone(&self) -> HandLevelDeuceToSeven
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 HandLevelDeuceToSeven
impl Debug for HandLevelDeuceToSeven
source§impl HandLevelTrait for HandLevelDeuceToSeven
impl HandLevelTrait for HandLevelDeuceToSeven
source§fn from_index(i: u32) -> Self
fn from_index(i: u32) -> Self
Convert an integer index to a level.
source§fn best() -> HandLevelDeuceToSeven
fn best() -> HandLevelDeuceToSeven
Level representing the best hand: this is the lowest number.
source§fn worst() -> HandLevelDeuceToSeven
fn worst() -> HandLevelDeuceToSeven
Level representing the worst hand: this is the highest number.
source§impl PartialEq for HandLevelDeuceToSeven
impl PartialEq for HandLevelDeuceToSeven
source§fn eq(&self, other: &HandLevelDeuceToSeven) -> bool
fn eq(&self, other: &HandLevelDeuceToSeven) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for HandLevelDeuceToSeven
impl PartialOrd for HandLevelDeuceToSeven
source§fn partial_cmp(&self, other: &HandLevelDeuceToSeven) -> Option<Ordering>
fn partial_cmp(&self, other: &HandLevelDeuceToSeven) -> 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 HandLevelDeuceToSeven
impl StructuralPartialEq for HandLevelDeuceToSeven
Auto Trait Implementations§
impl Freeze for HandLevelDeuceToSeven
impl RefUnwindSafe for HandLevelDeuceToSeven
impl Send for HandLevelDeuceToSeven
impl Sync for HandLevelDeuceToSeven
impl Unpin for HandLevelDeuceToSeven
impl UnwindSafe for HandLevelDeuceToSeven
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
)