Enum onejoker::poker::hand_value::HandExtras
source · #[repr(u8)]pub enum HandExtras {
None = 0,
Bugs([Card; 2]),
Wilds([Card; 4]),
Mexican(Card, bool),
}
Expand description
wiki | Extra information about a hand
Variants§
None = 0
No extra information
Bugs([Card; 2])
Cards that each bug represents
Wilds([Card; 4])
Cards that each wildcard represents
Mexican(Card, bool)
Bug replacement, up or down?
Trait Implementations§
source§impl Clone for HandExtras
impl Clone for HandExtras
source§fn clone(&self) -> HandExtras
fn clone(&self) -> HandExtras
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 HandExtras
impl Debug for HandExtras
source§impl Default for HandExtras
impl Default for HandExtras
source§fn default() -> HandExtras
fn default() -> HandExtras
Returns the “default value” for a type. Read more
source§impl Display for HandExtras
impl Display for HandExtras
source§impl Hash for HandExtras
impl Hash for HandExtras
impl Copy for HandExtras
Auto Trait Implementations§
impl Freeze for HandExtras
impl RefUnwindSafe for HandExtras
impl Send for HandExtras
impl Sync for HandExtras
impl Unpin for HandExtras
impl UnwindSafe for HandExtras
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
)