Enum onejoker::poker::hand_value::HandLevelBadugi
source · pub enum HandLevelBadugi {
FourCard = 1,
ThreeCard = 2,
TwoCard = 3,
OneCard = 4,
}
Expand description
wiki | Badugi hand levels Badugi: any four-card hand beats any 3-card, etc.
Variants§
Trait Implementations§
source§impl Clone for HandLevelBadugi
impl Clone for HandLevelBadugi
source§fn clone(&self) -> HandLevelBadugi
fn clone(&self) -> HandLevelBadugi
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 HandLevelBadugi
impl Debug for HandLevelBadugi
source§impl HandLevelTrait for HandLevelBadugi
impl HandLevelTrait for HandLevelBadugi
source§fn from_index(i: u32) -> Self
fn from_index(i: u32) -> Self
Convert an integer index to a level.
source§fn best() -> HandLevelBadugi
fn best() -> HandLevelBadugi
Level representing the best hand: this is the lowest number.
source§fn worst() -> HandLevelBadugi
fn worst() -> HandLevelBadugi
Level representing the worst hand: this is the highest number.
source§impl PartialEq for HandLevelBadugi
impl PartialEq for HandLevelBadugi
source§fn eq(&self, other: &HandLevelBadugi) -> bool
fn eq(&self, other: &HandLevelBadugi) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for HandLevelBadugi
impl PartialOrd for HandLevelBadugi
source§fn partial_cmp(&self, other: &HandLevelBadugi) -> Option<Ordering>
fn partial_cmp(&self, other: &HandLevelBadugi) -> 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 HandLevelBadugi
impl StructuralPartialEq for HandLevelBadugi
Auto Trait Implementations§
impl Freeze for HandLevelBadugi
impl RefUnwindSafe for HandLevelBadugi
impl Send for HandLevelBadugi
impl Sync for HandLevelBadugi
impl Unpin for HandLevelBadugi
impl UnwindSafe for HandLevelBadugi
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
)