Module pleco::core::mono_traits [−][src]
Traits and Dummy Types defined for various Enum types. Shouldn't be used in place of their enum representations.
This modules only use is to allow for compile-time mono-morphization of functions / methods, where each method created can be optimized further.
We are awaiting the stabilization of const fn
to remove these traits.
Structs
AllGenType |
Dummy type to represent a |
BishopType |
Dummy type to represent a |
BlackType |
Dummy type to represent a |
CapturesGenType |
Dummy type to represent a |
EvasionsGenType |
Dummy type to represent a |
KingType |
Dummy type to represent a |
KnightType |
Dummy type to represent a |
NonEvasionsGenType |
Dummy type to represent a |
PawnType |
Dummy type to represent a |
QueenType |
Dummy type to represent a |
QuietChecksGenType |
Dummy type to represent a |
QuietsGenType |
Dummy type to represent a |
RookType |
Dummy type to represent a |
WhiteType |
Dummy type to represent a |
Traits
GenTypeTrait |
A |
PieceTrait |
A |
PlayerTrait |
Defines a Player Trait, allowing for specific functions in relation to a certain player. |