Debian Codegraph @

intl/icu_capi/bindings/cpp/ICU4XDisplayNamesOptionsV1.hpp

raw
1 #ifndef ICU4XDisplayNamesOptionsV1_HPP
2 #define ICU4XDisplayNamesOptionsV1_HPP
3 #include <stdint.h>
4 #include <stddef.h>
5 #include <stdbool.h>
6 #include <algorithm>
7 #include <memory>
8 #include <variant>
9 #include <optional>
10 #include "diplomat_runtime.hpp"
11
12 #include "ICU4XDisplayNamesOptionsV1.h"
13
14 #include "ICU4XDisplayNamesStyle.hpp"
15 #include "ICU4XDisplayNamesFallback.hpp"
16 #include "ICU4XLanguageDisplay.hpp"
17
18
19 /**
20 * See the [Rust documentation for `DisplayNamesOptions`](https://docs.rs/icu/latest/icu/displaynames/options/struct.DisplayNamesOptions.html) for more information.
21 */
22 struct ICU4XDisplayNamesOptionsV1 {
23 public:
24
25 /**
26 * The optional formatting style to use for display name.
27 */
28 ICU4XDisplayNamesStyle style;
29
30 /**
31 * The fallback return when the system does not have the
32 * requested display name, defaults to "code".
33 */
34 ICU4XDisplayNamesFallback fallback;
35
36 /**
37 * The language display kind, defaults to "dialect".
38 */
39 ICU4XLanguageDisplay language_display;
40 };
41
42
43 #endif