pub struct CardIdx(/* private fields */);Expand description
Card index representation.
Converts cards to unique numeric indices (0-51).
Implementations§
Trait Implementations§
impl Copy for CardIdx
impl Eq for CardIdx
impl StructuralPartialEq for CardIdx
Auto Trait Implementations§
impl Freeze for CardIdx
impl RefUnwindSafe for CardIdx
impl Send for CardIdx
impl Sync for CardIdx
impl Unpin for CardIdx
impl UnwindSafe for CardIdx
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