blob: 43787c791924474d635c55a37734e56a44cdd3d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include <mbgl/util/feature.hpp>
namespace mbgl {
namespace style {
/**
* @brief Generic representation of a style property.
*/
struct StyleProperty {
enum class Kind : uint8_t { Undefined, Constant, Expression, Transition };
StyleProperty(Value value_, Kind kind_) : value(std::move(value_)), kind(kind_) {}
StyleProperty() = default;
const Value value;
const Kind kind = Kind::Undefined;
};
} // namespace style
} // namespace mbgl
|