slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
Overflow.h
浏览该文件的文档.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8// @generated by enums.py
9// clang-format off
10#pragma once
11
12#include <cstdint>
13#include <yoga/YGEnums.h>
15
16namespace facebook::yoga {
17
18enum class Overflow : uint8_t {
21 Scroll = YGOverflowScroll,
22};
23
24template <>
25constexpr int32_t ordinalCount<Overflow>() {
26 return 3;
27}
28
29constexpr Overflow scopedEnum(YGOverflow unscoped) {
30 return static_cast<Overflow>(unscoped);
31}
32
33constexpr YGOverflow unscopedEnum(Overflow scoped) {
34 return static_cast<YGOverflow>(scoped);
35}
36
37inline const char* toString(Overflow e) {
39}
40
41} // namespace facebook::yoga
const char * YGOverflowToString(const YGOverflow value)
Definition YGEnums.cpp:246
YG_EXTERN_C_BEGIN YGBoxSizingContentBox YGDirectionRTL YGEdgeAll YGExperimentalFeatureFixFlexBasisFitContent YGGridTrackTypeMinmax YGJustifyEnd YGMeasureModeAtMost YGOverflowVisible
Definition YGEnums.h:135
YG_EXTERN_C_BEGIN YGBoxSizingContentBox YGDirectionRTL YGEdgeAll YGExperimentalFeatureFixFlexBasisFitContent YGGridTrackTypeMinmax YGJustifyEnd YGMeasureModeAtMost YGOverflowHidden
Definition YGEnums.h:136
Definition Benchmark.cpp:19
const char * toString(Align e)
Definition Align.h:45
Overflow
Definition Overflow.h:18
constexpr YGAlign unscopedEnum(Align scoped)
Definition Align.h:41
constexpr int32_t ordinalCount< Overflow >()
Definition Overflow.h:25
constexpr Align scopedEnum(YGAlign unscoped)
Definition Align.h:37