[−][src]Module core::card
Card, Set, and SuperSet implementation.
A Card
has four features, each of which has three possible
values. As such, it can be represented by a four-element vector
where each element is a ternary digit (trit): 0, 1, or 2. The
implementation here packs this vector into the four bytes of a
u32
.
Structs
Card | |
Set | Validated Set |
SuperSet | Validated SuperSet |
Enums
Color | Unlike the other features, Color doesn't have a fixed interpretation. |
Shading | |
Shape |
Traits
CompleteSet | |
ToSet | |
ToSuperSet |