]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Globalization/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Globalization / mod.rs
CommitLineData
5e7ed085
FG
1#[cfg(feature = "Globalization_Collation")]
2pub mod Collation;
3#[cfg(feature = "Globalization_DateTimeFormatting")]
4pub mod DateTimeFormatting;
5#[cfg(feature = "Globalization_Fonts")]
6pub mod Fonts;
7#[cfg(feature = "Globalization_NumberFormatting")]
8pub mod NumberFormatting;
9#[cfg(feature = "Globalization_PhoneNumberFormatting")]
10pub mod PhoneNumberFormatting;
11pub type Calendar = *mut ::core::ffi::c_void;
12pub type CurrencyAmount = *mut ::core::ffi::c_void;
04454e1e 13#[doc = "*Required features: `\"Globalization\"`*"]
5e7ed085
FG
14#[repr(transparent)]
15pub struct DayOfWeek(pub i32);
16impl 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}
25impl ::core::marker::Copy for DayOfWeek {}
26impl ::core::clone::Clone for DayOfWeek {
27 fn clone(&self) -> Self {
28 *self
29 }
30}
31pub type GeographicRegion = *mut ::core::ffi::c_void;
32pub type JapanesePhoneme = *mut ::core::ffi::c_void;
33pub type Language = *mut ::core::ffi::c_void;
04454e1e 34#[doc = "*Required features: `\"Globalization\"`*"]
5e7ed085
FG
35#[repr(transparent)]
36pub struct LanguageLayoutDirection(pub i32);
37impl 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}
43impl ::core::marker::Copy for LanguageLayoutDirection {}
44impl ::core::clone::Clone for LanguageLayoutDirection {
45 fn clone(&self) -> Self {
46 *self
47 }
48}