[−][src]Struct rust_poker::hand_range::HoleCards
A single player hand
Implementations
impl HoleCards
[src]
pub fn to_string(&self) -> String
[src]
Writes hole cards to string
Example
// prints '2s2h' use rust_poker::hand_range::HoleCards; let hand = HoleCards(0, 1); println!("{}", hand.to_string());
Trait Implementations
impl Clone for HoleCards
[src]
impl Copy for HoleCards
[src]
impl Debug for HoleCards
[src]
impl Eq for HoleCards
[src]
impl Ord for HoleCards
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<HoleCards> for HoleCards
[src]
impl PartialOrd<HoleCards> for HoleCards
[src]
Auto Trait Implementations
impl RefUnwindSafe for HoleCards
impl Send for HoleCards
impl Sync for HoleCards
impl Unpin for HoleCards
impl UnwindSafe for HoleCards
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,