]> git.proxmox.com Git - rustc.git/blob - vendor/windows/src/Windows/Win32/System/MixedReality/mod.rs
New upstream version 1.70.0+dfsg1
[rustc.git] / vendor / windows / src / Windows / Win32 / System / MixedReality / mod.rs
1 #[doc = "*Required features: `\"Win32_System_MixedReality\"`*"]
2 pub const PERCEPTIONFIELD_StateStream_TimeStamps: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xaa886119_f32f_49bf_92ca_f9ddf784d297);
3 #[repr(C)]
4 #[doc = "*Required features: `\"Win32_System_MixedReality\"`*"]
5 pub struct PERCEPTION_PAYLOAD_FIELD {
6 pub FieldId: ::windows::core::GUID,
7 pub OffsetInBytes: u32,
8 pub SizeInBytes: u32,
9 }
10 impl ::core::marker::Copy for PERCEPTION_PAYLOAD_FIELD {}
11 impl ::core::clone::Clone for PERCEPTION_PAYLOAD_FIELD {
12 fn clone(&self) -> Self {
13 *self
14 }
15 }
16 impl ::core::fmt::Debug for PERCEPTION_PAYLOAD_FIELD {
17 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
18 f.debug_struct("PERCEPTION_PAYLOAD_FIELD").field("FieldId", &self.FieldId).field("OffsetInBytes", &self.OffsetInBytes).field("SizeInBytes", &self.SizeInBytes).finish()
19 }
20 }
21 impl ::windows::core::TypeKind for PERCEPTION_PAYLOAD_FIELD {
22 type TypeKind = ::windows::core::CopyType;
23 }
24 impl ::core::cmp::PartialEq for PERCEPTION_PAYLOAD_FIELD {
25 fn eq(&self, other: &Self) -> bool {
26 self.FieldId == other.FieldId && self.OffsetInBytes == other.OffsetInBytes && self.SizeInBytes == other.SizeInBytes
27 }
28 }
29 impl ::core::cmp::Eq for PERCEPTION_PAYLOAD_FIELD {}
30 impl ::core::default::Default for PERCEPTION_PAYLOAD_FIELD {
31 fn default() -> Self {
32 unsafe { ::core::mem::zeroed() }
33 }
34 }
35 #[repr(C)]
36 #[doc = "*Required features: `\"Win32_System_MixedReality\"`*"]
37 pub struct PERCEPTION_STATE_STREAM_TIMESTAMPS {
38 pub InputTimestampInQpcCounts: i64,
39 pub AvailableTimestampInQpcCounts: i64,
40 }
41 impl ::core::marker::Copy for PERCEPTION_STATE_STREAM_TIMESTAMPS {}
42 impl ::core::clone::Clone for PERCEPTION_STATE_STREAM_TIMESTAMPS {
43 fn clone(&self) -> Self {
44 *self
45 }
46 }
47 impl ::core::fmt::Debug for PERCEPTION_STATE_STREAM_TIMESTAMPS {
48 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
49 f.debug_struct("PERCEPTION_STATE_STREAM_TIMESTAMPS").field("InputTimestampInQpcCounts", &self.InputTimestampInQpcCounts).field("AvailableTimestampInQpcCounts", &self.AvailableTimestampInQpcCounts).finish()
50 }
51 }
52 impl ::windows::core::TypeKind for PERCEPTION_STATE_STREAM_TIMESTAMPS {
53 type TypeKind = ::windows::core::CopyType;
54 }
55 impl ::core::cmp::PartialEq for PERCEPTION_STATE_STREAM_TIMESTAMPS {
56 fn eq(&self, other: &Self) -> bool {
57 self.InputTimestampInQpcCounts == other.InputTimestampInQpcCounts && self.AvailableTimestampInQpcCounts == other.AvailableTimestampInQpcCounts
58 }
59 }
60 impl ::core::cmp::Eq for PERCEPTION_STATE_STREAM_TIMESTAMPS {}
61 impl ::core::default::Default for PERCEPTION_STATE_STREAM_TIMESTAMPS {
62 fn default() -> Self {
63 unsafe { ::core::mem::zeroed() }
64 }
65 }
66 #[cfg(feature = "implement")]
67 ::core::include!("impl.rs");