1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[cfg(feature = "Foundation_Collections")]
4 #[cfg(feature = "Foundation_Diagnostics")]
6 #[cfg(feature = "Foundation_Metadata")]
8 #[cfg(feature = "Foundation_Numerics")]
10 pub type AsyncActionCompletedHandler
= *mut ::core
::ffi
::c_void
;
11 pub type AsyncActionProgressHandler
= *mut ::core
::ffi
::c_void
;
12 pub type AsyncActionWithProgressCompletedHandler
= *mut ::core
::ffi
::c_void
;
13 pub type AsyncOperationCompletedHandler
= *mut ::core
::ffi
::c_void
;
14 pub type AsyncOperationProgressHandler
= *mut ::core
::ffi
::c_void
;
15 pub type AsyncOperationWithProgressCompletedHandler
= *mut ::core
::ffi
::c_void
;
16 #[doc = "*Required features: 'Foundation'*"]
18 pub struct AsyncStatus(pub i32);
20 pub const Canceled
: Self = Self(2i32);
21 pub const Completed
: Self = Self(1i32);
22 pub const Error
: Self = Self(3i32);
23 pub const Started
: Self = Self(0i32);
25 impl ::core
::marker
::Copy
for AsyncStatus {}
26 impl ::core
::clone
::Clone
for AsyncStatus
{
27 fn clone(&self) -> Self {
32 #[doc = "*Required features: 'Foundation'*"]
34 pub UniversalTime
: i64,
36 impl ::core
::marker
::Copy
for DateTime {}
37 impl ::core
::clone
::Clone
for DateTime
{
38 fn clone(&self) -> Self {
42 pub type Deferral
= *mut ::core
::ffi
::c_void
;
43 pub type DeferralCompletedHandler
= *mut ::core
::ffi
::c_void
;
44 pub type EventHandler
= *mut ::core
::ffi
::c_void
;
46 #[doc = "*Required features: 'Foundation'*"]
47 pub struct EventRegistrationToken
{
50 impl ::core
::marker
::Copy
for EventRegistrationToken {}
51 impl ::core
::clone
::Clone
for EventRegistrationToken
{
52 fn clone(&self) -> Self {
56 pub type IAsyncAction
= *mut ::core
::ffi
::c_void
;
57 pub type IAsyncActionWithProgress
= *mut ::core
::ffi
::c_void
;
58 pub type IAsyncInfo
= *mut ::core
::ffi
::c_void
;
59 pub type IAsyncOperation
= *mut ::core
::ffi
::c_void
;
60 pub type IAsyncOperationWithProgress
= *mut ::core
::ffi
::c_void
;
61 pub type IClosable
= *mut ::core
::ffi
::c_void
;
62 pub type IGetActivationFactory
= *mut ::core
::ffi
::c_void
;
63 pub type IMemoryBuffer
= *mut ::core
::ffi
::c_void
;
64 pub type IMemoryBufferReference
= *mut ::core
::ffi
::c_void
;
65 pub type IPropertyValue
= *mut ::core
::ffi
::c_void
;
66 pub type IReference
= *mut ::core
::ffi
::c_void
;
67 pub type IReferenceArray
= *mut ::core
::ffi
::c_void
;
68 pub type IStringable
= *mut ::core
::ffi
::c_void
;
69 pub type IWwwFormUrlDecoderEntry
= *mut ::core
::ffi
::c_void
;
70 pub type MemoryBuffer
= *mut ::core
::ffi
::c_void
;
72 #[doc = "*Required features: 'Foundation'*"]
77 impl ::core
::marker
::Copy
for Point {}
78 impl ::core
::clone
::Clone
for Point
{
79 fn clone(&self) -> Self {
83 #[doc = "*Required features: 'Foundation'*"]
85 pub struct PropertyType(pub i32);
87 pub const Empty
: Self = Self(0i32);
88 pub const UInt8
: Self = Self(1i32);
89 pub const Int16
: Self = Self(2i32);
90 pub const UInt16
: Self = Self(3i32);
91 pub const Int32
: Self = Self(4i32);
92 pub const UInt32
: Self = Self(5i32);
93 pub const Int64
: Self = Self(6i32);
94 pub const UInt64
: Self = Self(7i32);
95 pub const Single
: Self = Self(8i32);
96 pub const Double
: Self = Self(9i32);
97 pub const Char16
: Self = Self(10i32);
98 pub const Boolean
: Self = Self(11i32);
99 pub const String
: Self = Self(12i32);
100 pub const Inspectable
: Self = Self(13i32);
101 pub const DateTime
: Self = Self(14i32);
102 pub const TimeSpan
: Self = Self(15i32);
103 pub const Guid
: Self = Self(16i32);
104 pub const Point
: Self = Self(17i32);
105 pub const Size
: Self = Self(18i32);
106 pub const Rect
: Self = Self(19i32);
107 pub const OtherType
: Self = Self(20i32);
108 pub const UInt8Array
: Self = Self(1025i32);
109 pub const Int16Array
: Self = Self(1026i32);
110 pub const UInt16Array
: Self = Self(1027i32);
111 pub const Int32Array
: Self = Self(1028i32);
112 pub const UInt32Array
: Self = Self(1029i32);
113 pub const Int64Array
: Self = Self(1030i32);
114 pub const UInt64Array
: Self = Self(1031i32);
115 pub const SingleArray
: Self = Self(1032i32);
116 pub const DoubleArray
: Self = Self(1033i32);
117 pub const Char16Array
: Self = Self(1034i32);
118 pub const BooleanArray
: Self = Self(1035i32);
119 pub const StringArray
: Self = Self(1036i32);
120 pub const InspectableArray
: Self = Self(1037i32);
121 pub const DateTimeArray
: Self = Self(1038i32);
122 pub const TimeSpanArray
: Self = Self(1039i32);
123 pub const GuidArray
: Self = Self(1040i32);
124 pub const PointArray
: Self = Self(1041i32);
125 pub const SizeArray
: Self = Self(1042i32);
126 pub const RectArray
: Self = Self(1043i32);
127 pub const OtherTypeArray
: Self = Self(1044i32);
129 impl ::core
::marker
::Copy
for PropertyType {}
130 impl ::core
::clone
::Clone
for PropertyType
{
131 fn clone(&self) -> Self {
136 #[doc = "*Required features: 'Foundation'*"]
143 impl ::core
::marker
::Copy
for Rect {}
144 impl ::core
::clone
::Clone
for Rect
{
145 fn clone(&self) -> Self {
150 #[doc = "*Required features: 'Foundation'*"]
155 impl ::core
::marker
::Copy
for Size {}
156 impl ::core
::clone
::Clone
for Size
{
157 fn clone(&self) -> Self {
162 #[doc = "*Required features: 'Foundation'*"]
163 pub struct TimeSpan
{
166 impl ::core
::marker
::Copy
for TimeSpan {}
167 impl ::core
::clone
::Clone
for TimeSpan
{
168 fn clone(&self) -> Self {
172 pub type TypedEventHandler
= *mut ::core
::ffi
::c_void
;
173 pub type Uri
= *mut ::core
::ffi
::c_void
;
174 pub type WwwFormUrlDecoder
= *mut ::core
::ffi
::c_void
;
175 pub type WwwFormUrlDecoderEntry
= *mut ::core
::ffi
::c_void
;