]>
git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Globalization/DateTimeFormatting/mod.rs
1 pub type DateTimeFormatter
= *mut ::core
::ffi
::c_void
;
2 #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"]
4 pub struct DayFormat(pub i32);
6 pub const None
: Self = Self(0i32);
7 pub const Default
: Self = Self(1i32);
9 impl ::core
::marker
::Copy
for DayFormat {}
10 impl ::core
::clone
::Clone
for DayFormat
{
11 fn clone(&self) -> Self {
15 #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"]
17 pub struct DayOfWeekFormat(pub i32);
18 impl DayOfWeekFormat
{
19 pub const None
: Self = Self(0i32);
20 pub const Default
: Self = Self(1i32);
21 pub const Abbreviated
: Self = Self(2i32);
22 pub const Full
: Self = Self(3i32);
24 impl ::core
::marker
::Copy
for DayOfWeekFormat {}
25 impl ::core
::clone
::Clone
for DayOfWeekFormat
{
26 fn clone(&self) -> Self {
30 #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"]
32 pub struct HourFormat(pub i32);
34 pub const None
: Self = Self(0i32);
35 pub const Default
: Self = Self(1i32);
37 impl ::core
::marker
::Copy
for HourFormat {}
38 impl ::core
::clone
::Clone
for HourFormat
{
39 fn clone(&self) -> Self {
43 #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"]
45 pub struct MinuteFormat(pub i32);
47 pub const None
: Self = Self(0i32);
48 pub const Default
: Self = Self(1i32);
50 impl ::core
::marker
::Copy
for MinuteFormat {}
51 impl ::core
::clone
::Clone
for MinuteFormat
{
52 fn clone(&self) -> Self {
56 #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"]
58 pub struct MonthFormat(pub i32);
60 pub const None
: Self = Self(0i32);
61 pub const Default
: Self = Self(1i32);
62 pub const Abbreviated
: Self = Self(2i32);
63 pub const Full
: Self = Self(3i32);
64 pub const Numeric
: Self = Self(4i32);
66 impl ::core
::marker
::Copy
for MonthFormat {}
67 impl ::core
::clone
::Clone
for MonthFormat
{
68 fn clone(&self) -> Self {
72 #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"]
74 pub struct SecondFormat(pub i32);
76 pub const None
: Self = Self(0i32);
77 pub const Default
: Self = Self(1i32);
79 impl ::core
::marker
::Copy
for SecondFormat {}
80 impl ::core
::clone
::Clone
for SecondFormat
{
81 fn clone(&self) -> Self {
85 #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"]
87 pub struct YearFormat(pub i32);
89 pub const None
: Self = Self(0i32);
90 pub const Default
: Self = Self(1i32);
91 pub const Abbreviated
: Self = Self(2i32);
92 pub const Full
: Self = Self(3i32);
94 impl ::core
::marker
::Copy
for YearFormat {}
95 impl ::core
::clone
::Clone
for YearFormat
{
96 fn clone(&self) -> Self {