#ifndef ICU4XTitlecaseOptionsV1_HPP #define ICU4XTitlecaseOptionsV1_HPP #include #include #include #include #include #include #include #include "diplomat_runtime.hpp" #include "ICU4XTitlecaseOptionsV1.h" #include "ICU4XLeadingAdjustment.hpp" #include "ICU4XTrailingCase.hpp" struct ICU4XTitlecaseOptionsV1; /** * See the [Rust documentation for `TitlecaseOptions`](https://docs.rs/icu/latest/icu/casemap/titlecase/struct.TitlecaseOptions.html) for more information. */ struct ICU4XTitlecaseOptionsV1 { public: ICU4XLeadingAdjustment leading_adjustment; ICU4XTrailingCase trailing_case; /** * See the [Rust documentation for `default`](https://docs.rs/icu/latest/icu/casemap/titlecase/struct.TitlecaseOptions.html#method.default) for more information. */ static ICU4XTitlecaseOptionsV1 default_options(); }; inline ICU4XTitlecaseOptionsV1 ICU4XTitlecaseOptionsV1::default_options() { capi::ICU4XTitlecaseOptionsV1 diplomat_raw_struct_out_value = capi::ICU4XTitlecaseOptionsV1_default_options(); return ICU4XTitlecaseOptionsV1{ .leading_adjustment = std::move(static_cast(diplomat_raw_struct_out_value.leading_adjustment)), .trailing_case = std::move(static_cast(diplomat_raw_struct_out_value.trailing_case)) }; } #endif