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