]>
Commit | Line | Data |
---|---|---|
1 | #[cfg(feature = "Globalization_Collation")] | |
2 | pub mod Collation; | |
3 | #[cfg(feature = "Globalization_DateTimeFormatting")] | |
4 | pub mod DateTimeFormatting; | |
5 | #[cfg(feature = "Globalization_Fonts")] | |
6 | pub mod Fonts; | |
7 | #[cfg(feature = "Globalization_NumberFormatting")] | |
8 | pub mod NumberFormatting; | |
9 | #[cfg(feature = "Globalization_PhoneNumberFormatting")] | |
10 | pub mod PhoneNumberFormatting; | |
11 | pub type Calendar = *mut ::core::ffi::c_void; | |
12 | pub type CurrencyAmount = *mut ::core::ffi::c_void; | |
13 | #[doc = "*Required features: `\"Globalization\"`*"] | |
14 | #[repr(transparent)] | |
15 | pub struct DayOfWeek(pub i32); | |
16 | impl DayOfWeek { | |
17 | pub const Sunday: Self = Self(0i32); | |
18 | pub const Monday: Self = Self(1i32); | |
19 | pub const Tuesday: Self = Self(2i32); | |
20 | pub const Wednesday: Self = Self(3i32); | |
21 | pub const Thursday: Self = Self(4i32); | |
22 | pub const Friday: Self = Self(5i32); | |
23 | pub const Saturday: Self = Self(6i32); | |
24 | } | |
25 | impl ::core::marker::Copy for DayOfWeek {} | |
26 | impl ::core::clone::Clone for DayOfWeek { | |
27 | fn clone(&self) -> Self { | |
28 | *self | |
29 | } | |
30 | } | |
31 | pub type GeographicRegion = *mut ::core::ffi::c_void; | |
32 | pub type JapanesePhoneme = *mut ::core::ffi::c_void; | |
33 | pub type Language = *mut ::core::ffi::c_void; | |
34 | #[doc = "*Required features: `\"Globalization\"`*"] | |
35 | #[repr(transparent)] | |
36 | pub struct LanguageLayoutDirection(pub i32); | |
37 | impl LanguageLayoutDirection { | |
38 | pub const Ltr: Self = Self(0i32); | |
39 | pub const Rtl: Self = Self(1i32); | |
40 | pub const TtbLtr: Self = Self(2i32); | |
41 | pub const TtbRtl: Self = Self(3i32); | |
42 | } | |
43 | impl ::core::marker::Copy for LanguageLayoutDirection {} | |
44 | impl ::core::clone::Clone for LanguageLayoutDirection { | |
45 | fn clone(&self) -> Self { | |
46 | *self | |
47 | } | |
48 | } |