pub struct SuitIdx(/* private fields */);Expand description
Suit index representation.
Converts suits to numeric indices (0-3).
Implementations§
Trait Implementations§
Source§impl Ord for SuitIdx
impl Ord for SuitIdx
Source§impl PartialOrd for SuitIdx
impl PartialOrd for SuitIdx
impl Copy for SuitIdx
impl Eq for SuitIdx
impl StructuralPartialEq for SuitIdx
Auto Trait Implementations§
impl Freeze for SuitIdx
impl RefUnwindSafe for SuitIdx
impl Send for SuitIdx
impl Sync for SuitIdx
impl Unpin for SuitIdx
impl UnwindSafe for SuitIdx
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