summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys-0.28.0/src/Windows/Globalization/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Globalization/mod.rs')
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Globalization/mod.rs49
1 files changed, 49 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Globalization/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Globalization/mod.rs
new file mode 100644
index 000000000..a23f56f95
--- /dev/null
+++ b/vendor/windows-sys-0.28.0/src/Windows/Globalization/mod.rs
@@ -0,0 +1,49 @@
+#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
+#[cfg(feature = "Globalization_Collation")]
+pub mod Collation;
+#[cfg(feature = "Globalization_DateTimeFormatting")]
+pub mod DateTimeFormatting;
+#[cfg(feature = "Globalization_Fonts")]
+pub mod Fonts;
+#[cfg(feature = "Globalization_NumberFormatting")]
+pub mod NumberFormatting;
+#[cfg(feature = "Globalization_PhoneNumberFormatting")]
+pub mod PhoneNumberFormatting;
+#[link(name = "windows")]
+extern "system" {}
+pub type Calendar = *mut ::core::ffi::c_void;
+pub type CurrencyAmount = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct DayOfWeek(pub i32);
+impl DayOfWeek {
+ pub const Sunday: Self = Self(0i32);
+ pub const Monday: Self = Self(1i32);
+ pub const Tuesday: Self = Self(2i32);
+ pub const Wednesday: Self = Self(3i32);
+ pub const Thursday: Self = Self(4i32);
+ pub const Friday: Self = Self(5i32);
+ pub const Saturday: Self = Self(6i32);
+}
+impl ::core::marker::Copy for DayOfWeek {}
+impl ::core::clone::Clone for DayOfWeek {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type GeographicRegion = *mut ::core::ffi::c_void;
+pub type JapanesePhoneme = *mut ::core::ffi::c_void;
+pub type Language = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct LanguageLayoutDirection(pub i32);
+impl LanguageLayoutDirection {
+ pub const Ltr: Self = Self(0i32);
+ pub const Rtl: Self = Self(1i32);
+ pub const TtbLtr: Self = Self(2i32);
+ pub const TtbRtl: Self = Self(3i32);
+}
+impl ::core::marker::Copy for LanguageLayoutDirection {}
+impl ::core::clone::Clone for LanguageLayoutDirection {
+ fn clone(&self) -> Self {
+ *self
+ }
+}