]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Data/Json/mod.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Data / Json / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 pub type IJsonValue = *mut ::core::ffi::c_void;
3 pub type JsonArray = *mut ::core::ffi::c_void;
4 #[doc = "*Required features: 'Data_Json'*"]
5 #[repr(transparent)]
6 pub struct JsonErrorStatus(pub i32);
7 impl JsonErrorStatus {
8 pub const Unknown: Self = Self(0i32);
9 pub const InvalidJsonString: Self = Self(1i32);
10 pub const InvalidJsonNumber: Self = Self(2i32);
11 pub const JsonValueNotFound: Self = Self(3i32);
12 pub const ImplementationLimit: Self = Self(4i32);
13 }
14 impl ::core::marker::Copy for JsonErrorStatus {}
15 impl ::core::clone::Clone for JsonErrorStatus {
16 fn clone(&self) -> Self {
17 *self
18 }
19 }
20 pub type JsonObject = *mut ::core::ffi::c_void;
21 pub type JsonValue = *mut ::core::ffi::c_void;
22 #[doc = "*Required features: 'Data_Json'*"]
23 #[repr(transparent)]
24 pub struct JsonValueType(pub i32);
25 impl JsonValueType {
26 pub const Null: Self = Self(0i32);
27 pub const Boolean: Self = Self(1i32);
28 pub const Number: Self = Self(2i32);
29 pub const String: Self = Self(3i32);
30 pub const Array: Self = Self(4i32);
31 pub const Object: Self = Self(5i32);
32 }
33 impl ::core::marker::Copy for JsonValueType {}
34 impl ::core::clone::Clone for JsonValueType {
35 fn clone(&self) -> Self {
36 *self
37 }
38 }