Available on crate feature
cards
only.Expand description
A card
Fields
value: u32
Value of the card 1 to 10, Jack (11), Queen (12) and King (13), Joker (0)
suit: Suit
Suit of the card, Suit::None
if it’s a Joker
Trait Implementations
impl Copy for Card
Auto Trait Implementations
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnwindSafe for Card
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more