78#pragma clang diagnostic push
79#pragma clang diagnostic ignored "-Wswitch-enum"
83#pragma clang diagnostic pop
94 explicit constexpr operator YGValue()
const {
YG_EXTERN_C_BEGIN struct YGValue YGValue
Definition StyleLength.h:28
Unit unit_
Definition StyleLength.h:114
FloatOptional value_
Definition StyleLength.h:113
constexpr StyleLength(FloatOptional value, Unit unit)
Definition StyleLength.h:110
constexpr StyleLength()=default
static constexpr StyleLength undefined()
Definition StyleLength.h:48
constexpr bool isUndefined() const
Definition StyleLength.h:56
constexpr FloatOptional value() const
Definition StyleLength.h:72
constexpr FloatOptional resolve(float referenceLength)
Definition StyleLength.h:76
static constexpr StyleLength ofAuto()
Definition StyleLength.h:44
static constexpr StyleLength percent(float value)
Definition StyleLength.h:38
constexpr bool isPoints() const
Definition StyleLength.h:60
static constexpr StyleLength points(float value)
Definition StyleLength.h:32
constexpr bool isPercent() const
Definition StyleLength.h:64
constexpr bool operator==(const StyleLength &rhs) const
Definition StyleLength.h:98
constexpr bool isAuto() const
Definition StyleLength.h:52
constexpr bool isDefined() const
Definition StyleLength.h:68
constexpr bool inexactEquals(const StyleLength &other) const
Definition StyleLength.h:102
Definition Benchmark.cpp:19
static bool isUndefined(json &j)
Definition TreeDeserialization.cpp:24
constexpr bool isinf(auto value)
Definition Comparison.h:30
constexpr YGAlign unscopedEnum(Align scoped)
Definition Align.h:41
bool inexactEquals(float a, float b)
Definition Comparison.h:56
Definition FloatOptional.h:15
constexpr float unwrap() const
Definition FloatOptional.h:24