nw::Appearance
-
struct Appearance
Public Functions
-
bool operator==(const Appearance &rhs) const = default
Defaulted equality operator
-
auto operator<=>(const Appearance &rhs) const = default
Defaulted spaceship operator
-
inline constexpr int32_t operator*() const noexcept
Returns rule type as value
-
inline constexpr size_t idx() const noexcept
Returns rule type as index
Public Members
-
int32_t val = -1
Public Static Functions
-
static inline constexpr Appearance make(int32_t id)
Makes a rule type
-
static inline constexpr Appearance invalid()
Returns an invalid rule type
-
bool operator==(const Appearance &rhs) const = default