pub enum HandType {
Show 13 variants
HighCard,
Pair,
TwoPair,
ThreeOfAKind,
Straight,
Flush,
FullHouse,
FourOfAKind,
StraightFlush,
RoyalFlush,
FiveOfAKind,
FlushHouse,
FlushFive,
}the funky engine moved to the buffoonery crate; removed in 0.12.0
Variantsยง
HighCard
the funky engine moved to the buffoonery crate; removed in 0.12.0
Pair
the funky engine moved to the buffoonery crate; removed in 0.12.0
TwoPair
the funky engine moved to the buffoonery crate; removed in 0.12.0
ThreeOfAKind
the funky engine moved to the buffoonery crate; removed in 0.12.0
Straight
the funky engine moved to the buffoonery crate; removed in 0.12.0
Flush
the funky engine moved to the buffoonery crate; removed in 0.12.0
FullHouse
the funky engine moved to the buffoonery crate; removed in 0.12.0
FourOfAKind
the funky engine moved to the buffoonery crate; removed in 0.12.0
StraightFlush
the funky engine moved to the buffoonery crate; removed in 0.12.0
RoyalFlush
the funky engine moved to the buffoonery crate; removed in 0.12.0
FiveOfAKind
the funky engine moved to the buffoonery crate; removed in 0.12.0
FlushHouse
the funky engine moved to the buffoonery crate; removed in 0.12.0
FlushFive
the funky engine moved to the buffoonery crate; removed in 0.12.0
Trait Implementationsยง
impl Copy for HandType
Sourceยงimpl<'de> Deserialize<'de> for HandType
impl<'de> Deserialize<'de> for HandType
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for HandType
Sourceยงimpl Ord for HandType
impl Ord for HandType
1.21.0 (const: unstable) ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) ยท Sourceยงfn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Sourceยงimpl PartialOrd for HandType
impl PartialOrd for HandType
impl StructuralPartialEq for HandType
Auto Trait Implementationsยง
impl Freeze for HandType
impl RefUnwindSafe for HandType
impl Send for HandType
impl Sync for HandType
impl Unpin for HandType
impl UnsafeUnpin for HandType
impl UnwindSafe for HandType
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self> โ
fn into_either(self, into_left: bool) -> Either<Self, Self> โ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more