Enum libcoinche::cards::Rank
source · [−]#[repr(u32)]
pub enum Rank {
Rank7,
Rank8,
Rank9,
RankJ,
RankQ,
RankK,
RankX,
RankA,
}
Expand description
Rank of a card in a suit.
Variants
Rank7
7
Rank8
8
Rank9
9
RankJ
Jack
RankQ
Queen
RankK
King
RankX
10
RankA
Ace
Implementations
Trait Implementations
impl Copy for Rank
impl Eq for Rank
impl StructuralEq for Rank
impl StructuralPartialEq for Rank
Auto Trait Implementations
impl RefUnwindSafe for Rank
impl Send for Rank
impl Sync for Rank
impl Unpin for Rank
impl UnwindSafe for Rank
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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