slot
0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
third
yoga
yoga
enums
PhysicalEdge.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
#pragma once
9
10
#include <
yoga/enums/Edge.h
>
11
12
namespace
facebook::yoga
{
13
14
enum class
PhysicalEdge
: uint32_t {
15
Left
=
yoga::to_underlying
(
Edge::Left
),
16
Top
=
yoga::to_underlying
(
Edge::Top
),
17
Right
=
yoga::to_underlying
(
Edge::Right
),
18
Bottom
=
yoga::to_underlying
(
Edge::Bottom
),
19
};
20
21
}
// namespace facebook::yoga
Edge.h
facebook::yoga
Definition
Benchmark.cpp:19
facebook::yoga::to_underlying
constexpr auto to_underlying(Enumeration auto e) noexcept
Definition
YogaEnums.h:47
facebook::yoga::Edge::Bottom
@ Bottom
facebook::yoga::Edge::Right
@ Right
facebook::yoga::Edge::Left
@ Left
facebook::yoga::Edge::Top
@ Top
facebook::yoga::PhysicalEdge
PhysicalEdge
Definition
PhysicalEdge.h:14
制作者
1.10.0