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