pub struct Suit4(/* private fields */);Expand description
Bitset representation of suit collections.
A 4-bit bitset for efficient suit set operations. Each bit represents a specific suit, enabling fast membership tests and set operations.
§Memory Layout
[8, 0]: xxxxcdhs // x: unusedImplementations§
Trait Implementations§
Source§impl BitOrAssign<Suit> for Suit4
impl BitOrAssign<Suit> for Suit4
Source§fn bitor_assign(&mut self, rhs: Suit)
fn bitor_assign(&mut self, rhs: Suit)
Performs the
|= operation. Read moreSource§impl FromIterator<Suit> for Suit4
impl FromIterator<Suit> for Suit4
impl Copy for Suit4
impl Eq for Suit4
impl StructuralPartialEq for Suit4
Auto Trait Implementations§
impl Freeze for Suit4
impl RefUnwindSafe for Suit4
impl Send for Suit4
impl Sync for Suit4
impl Unpin for Suit4
impl UnwindSafe for Suit4
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