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);
4 #[doc = "*Required features: `\"Win32_System_MixedReality\"`*"]
5 pub struct PERCEPTION_PAYLOAD_FIELD
{
6 pub FieldId
: ::windows
::core
::GUID
,
7 pub OffsetInBytes
: u32,
10 impl ::core
::marker
::Copy
for PERCEPTION_PAYLOAD_FIELD {}
11 impl ::core
::clone
::Clone
for PERCEPTION_PAYLOAD_FIELD
{
12 fn clone(&self) -> Self {
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()
21 impl ::windows
::core
::TypeKind
for PERCEPTION_PAYLOAD_FIELD
{
22 type TypeKind
= ::windows
::core
::CopyType
;
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
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() }
36 #[doc = "*Required features: `\"Win32_System_MixedReality\"`*"]
37 pub struct PERCEPTION_STATE_STREAM_TIMESTAMPS
{
38 pub InputTimestampInQpcCounts
: i64,
39 pub AvailableTimestampInQpcCounts
: i64,
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 {
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()
52 impl ::windows
::core
::TypeKind
for PERCEPTION_STATE_STREAM_TIMESTAMPS
{
53 type TypeKind
= ::windows
::core
::CopyType
;
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
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() }
66 #[cfg(feature = "implement")]
67 ::core
::include
!("impl.rs");