#ifndef icu4x_DisplayNamesOptionsV1_D_HPP #define icu4x_DisplayNamesOptionsV1_D_HPP #include #include #include #include #include #include #include "../diplomat_runtime.hpp" #include "DisplayNamesFallback.d.hpp" #include "DisplayNamesStyle.d.hpp" #include "LanguageDisplay.d.hpp" namespace icu4x { class DisplayNamesFallback; class DisplayNamesStyle; class LanguageDisplay; } namespace icu4x { namespace capi { struct DisplayNamesOptionsV1 { icu4x::capi::DisplayNamesStyle_option style; icu4x::capi::DisplayNamesFallback_option fallback; icu4x::capi::LanguageDisplay_option language_display; }; typedef struct DisplayNamesOptionsV1_option {union { DisplayNamesOptionsV1 ok; }; bool is_ok; } DisplayNamesOptionsV1_option; } // namespace capi } // namespace namespace icu4x { struct DisplayNamesOptionsV1 { std::optional style; std::optional fallback; std::optional language_display; inline icu4x::capi::DisplayNamesOptionsV1 AsFFI() const; inline static icu4x::DisplayNamesOptionsV1 FromFFI(icu4x::capi::DisplayNamesOptionsV1 c_struct); }; } // namespace #endif // icu4x_DisplayNamesOptionsV1_D_HPP