7namespace hi::inline v1 {
9enum class keyboard_state : uint8_t {
16[[nodiscard]]
constexpr keyboard_state
operator|(keyboard_state
const& lhs, keyboard_state
const& rhs)
noexcept
18 return static_cast<keyboard_state
>(to_underlying(lhs) | to_underlying(rhs));
21[[nodiscard]]
constexpr keyboard_state operator&(keyboard_state
const& lhs, keyboard_state
const& rhs)
noexcept
23 return static_cast<keyboard_state
>(to_underlying(lhs) & to_underlying(rhs));
26constexpr keyboard_state& operator|=(keyboard_state& lhs, keyboard_state
const& rhs)
noexcept
28 return lhs = lhs | rhs;
31bool operator>=(keyboard_state
const& lhs, keyboard_state
const& rhs) =
delete;
33[[nodiscard]]
constexpr bool any(keyboard_state
const& rhs)
noexcept
35 return to_bool(to_underlying(rhs));
constexpr alignment operator|(horizontal_alignment lhs, vertical_alignment rhs) noexcept
Combine vertical and horizontal alignment.
Definition alignment.hpp:200