#ifndef icu4x_TitlecaseOptionsV1_D_HPP #define icu4x_TitlecaseOptionsV1_D_HPP #include #include #include #include #include #include #include "../diplomat_runtime.hpp" #include "LeadingAdjustment.d.hpp" #include "TrailingCase.d.hpp" namespace icu4x { struct TitlecaseOptionsV1; class LeadingAdjustment; class TrailingCase; } namespace icu4x { namespace capi { struct TitlecaseOptionsV1 { icu4x::capi::LeadingAdjustment_option leading_adjustment; icu4x::capi::TrailingCase_option trailing_case; }; typedef struct TitlecaseOptionsV1_option {union { TitlecaseOptionsV1 ok; }; bool is_ok; } TitlecaseOptionsV1_option; } // namespace capi } // namespace namespace icu4x { struct TitlecaseOptionsV1 { std::optional leading_adjustment; std::optional trailing_case; inline static icu4x::TitlecaseOptionsV1 default_options(); inline icu4x::capi::TitlecaseOptionsV1 AsFFI() const; inline static icu4x::TitlecaseOptionsV1 FromFFI(icu4x::capi::TitlecaseOptionsV1 c_struct); }; } // namespace #endif // icu4x_TitlecaseOptionsV1_D_HPP