| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_DLNACAP: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 16 }; |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_DLNADOC: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 15 }; |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_MaxVolume: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 19 }; |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_PacketWakeSupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 0 }; |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_SendPacketWakeSupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 1 }; |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_SinkProtocolInfo: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 14 }; |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_SupportsAudio: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 8 }; |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_SupportsImages: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 10 }; |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_SupportsMute: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 18 }; |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_SupportsSearch: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 17 }; |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_SupportsSetNextAVT: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 20 }; |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_SupportsVideo: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 9 }; |
| #[doc = "Required features: `\"Win32_Devices_Properties\"`"] |
| #[cfg(feature = "Win32_Devices_Properties")] |
| pub const DEVPKEY_Device_UDN: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 6 }; |
| pub const GUID_DEVINTERFACE_DMP: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25b4e268_2a05_496e_803b_266837fbda4b); |
| pub const GUID_DEVINTERFACE_DMR: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0875fb4_2196_4c7a_a63d_e416addd60a1); |
| pub const GUID_DEVINTERFACE_DMS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc96037ae_a558_4470_b432_115a31b85553); |
| pub const MF_MEDIASOURCE_STATUS_INFO_FULLYSUPPORTED: MF_MEDIASOURCE_STATUS_INFO = MF_MEDIASOURCE_STATUS_INFO(0i32); |
| pub const MF_MEDIASOURCE_STATUS_INFO_UNKNOWN: MF_MEDIASOURCE_STATUS_INFO = MF_MEDIASOURCE_STATUS_INFO(1i32); |
| pub const MF_TRANSFER_VIDEO_FRAME_DEFAULT: MF_TRANSFER_VIDEO_FRAME_FLAGS = MF_TRANSFER_VIDEO_FRAME_FLAGS(0i32); |
| pub const MF_TRANSFER_VIDEO_FRAME_IGNORE_PAR: MF_TRANSFER_VIDEO_FRAME_FLAGS = MF_TRANSFER_VIDEO_FRAME_FLAGS(2i32); |
| pub const MF_TRANSFER_VIDEO_FRAME_STRETCH: MF_TRANSFER_VIDEO_FRAME_FLAGS = MF_TRANSFER_VIDEO_FRAME_FLAGS(1i32); |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MF_MEDIASOURCE_STATUS_INFO(pub i32); |
| impl ::core::marker::Copy for MF_MEDIASOURCE_STATUS_INFO {} |
| impl ::core::clone::Clone for MF_MEDIASOURCE_STATUS_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MF_MEDIASOURCE_STATUS_INFO { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for MF_MEDIASOURCE_STATUS_INFO { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for MF_MEDIASOURCE_STATUS_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MF_MEDIASOURCE_STATUS_INFO").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MF_TRANSFER_VIDEO_FRAME_FLAGS(pub i32); |
| impl ::core::marker::Copy for MF_TRANSFER_VIDEO_FRAME_FLAGS {} |
| impl ::core::clone::Clone for MF_TRANSFER_VIDEO_FRAME_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MF_TRANSFER_VIDEO_FRAME_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for MF_TRANSFER_VIDEO_FRAME_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for MF_TRANSFER_VIDEO_FRAME_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MF_TRANSFER_VIDEO_FRAME_FLAGS").field(&self.0).finish() |
| } |
| } |
| #[repr(C)] |
| pub struct CapturedMetadataExposureCompensation { |
| pub Flags: u64, |
| pub Value: i32, |
| } |
| impl ::core::marker::Copy for CapturedMetadataExposureCompensation {} |
| impl ::core::clone::Clone for CapturedMetadataExposureCompensation { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for CapturedMetadataExposureCompensation { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CapturedMetadataExposureCompensation").field("Flags", &self.Flags).field("Value", &self.Value).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for CapturedMetadataExposureCompensation { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for CapturedMetadataExposureCompensation { |
| fn eq(&self, other: &Self) -> bool { |
| self.Flags == other.Flags && self.Value == other.Value |
| } |
| } |
| impl ::core::cmp::Eq for CapturedMetadataExposureCompensation {} |
| impl ::core::default::Default for CapturedMetadataExposureCompensation { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct CapturedMetadataISOGains { |
| pub AnalogGain: f32, |
| pub DigitalGain: f32, |
| } |
| impl ::core::marker::Copy for CapturedMetadataISOGains {} |
| impl ::core::clone::Clone for CapturedMetadataISOGains { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for CapturedMetadataISOGains { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CapturedMetadataISOGains").field("AnalogGain", &self.AnalogGain).field("DigitalGain", &self.DigitalGain).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for CapturedMetadataISOGains { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for CapturedMetadataISOGains { |
| fn eq(&self, other: &Self) -> bool { |
| self.AnalogGain == other.AnalogGain && self.DigitalGain == other.DigitalGain |
| } |
| } |
| impl ::core::cmp::Eq for CapturedMetadataISOGains {} |
| impl ::core::default::Default for CapturedMetadataISOGains { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct CapturedMetadataWhiteBalanceGains { |
| pub R: f32, |
| pub G: f32, |
| pub B: f32, |
| } |
| impl ::core::marker::Copy for CapturedMetadataWhiteBalanceGains {} |
| impl ::core::clone::Clone for CapturedMetadataWhiteBalanceGains { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for CapturedMetadataWhiteBalanceGains { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CapturedMetadataWhiteBalanceGains").field("R", &self.R).field("G", &self.G).field("B", &self.B).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for CapturedMetadataWhiteBalanceGains { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for CapturedMetadataWhiteBalanceGains { |
| fn eq(&self, other: &Self) -> bool { |
| self.R == other.R && self.G == other.G && self.B == other.B |
| } |
| } |
| impl ::core::cmp::Eq for CapturedMetadataWhiteBalanceGains {} |
| impl ::core::default::Default for CapturedMetadataWhiteBalanceGains { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct FaceCharacterization { |
| pub BlinkScoreLeft: u32, |
| pub BlinkScoreRight: u32, |
| pub FacialExpression: u32, |
| pub FacialExpressionScore: u32, |
| } |
| impl ::core::marker::Copy for FaceCharacterization {} |
| impl ::core::clone::Clone for FaceCharacterization { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for FaceCharacterization { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("FaceCharacterization").field("BlinkScoreLeft", &self.BlinkScoreLeft).field("BlinkScoreRight", &self.BlinkScoreRight).field("FacialExpression", &self.FacialExpression).field("FacialExpressionScore", &self.FacialExpressionScore).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for FaceCharacterization { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for FaceCharacterization { |
| fn eq(&self, other: &Self) -> bool { |
| self.BlinkScoreLeft == other.BlinkScoreLeft && self.BlinkScoreRight == other.BlinkScoreRight && self.FacialExpression == other.FacialExpression && self.FacialExpressionScore == other.FacialExpressionScore |
| } |
| } |
| impl ::core::cmp::Eq for FaceCharacterization {} |
| impl ::core::default::Default for FaceCharacterization { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct FaceCharacterizationBlobHeader { |
| pub Size: u32, |
| pub Count: u32, |
| } |
| impl ::core::marker::Copy for FaceCharacterizationBlobHeader {} |
| impl ::core::clone::Clone for FaceCharacterizationBlobHeader { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for FaceCharacterizationBlobHeader { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("FaceCharacterizationBlobHeader").field("Size", &self.Size).field("Count", &self.Count).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for FaceCharacterizationBlobHeader { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for FaceCharacterizationBlobHeader { |
| fn eq(&self, other: &Self) -> bool { |
| self.Size == other.Size && self.Count == other.Count |
| } |
| } |
| impl ::core::cmp::Eq for FaceCharacterizationBlobHeader {} |
| impl ::core::default::Default for FaceCharacterizationBlobHeader { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct FaceRectInfo { |
| pub Region: super::super::Foundation::RECT, |
| pub confidenceLevel: i32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for FaceRectInfo {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for FaceRectInfo { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for FaceRectInfo { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("FaceRectInfo").field("Region", &self.Region).field("confidenceLevel", &self.confidenceLevel).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for FaceRectInfo { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for FaceRectInfo { |
| fn eq(&self, other: &Self) -> bool { |
| self.Region == other.Region && self.confidenceLevel == other.confidenceLevel |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for FaceRectInfo {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for FaceRectInfo { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct FaceRectInfoBlobHeader { |
| pub Size: u32, |
| pub Count: u32, |
| } |
| impl ::core::marker::Copy for FaceRectInfoBlobHeader {} |
| impl ::core::clone::Clone for FaceRectInfoBlobHeader { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for FaceRectInfoBlobHeader { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("FaceRectInfoBlobHeader").field("Size", &self.Size).field("Count", &self.Count).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for FaceRectInfoBlobHeader { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for FaceRectInfoBlobHeader { |
| fn eq(&self, other: &Self) -> bool { |
| self.Size == other.Size && self.Count == other.Count |
| } |
| } |
| impl ::core::cmp::Eq for FaceRectInfoBlobHeader {} |
| impl ::core::default::Default for FaceRectInfoBlobHeader { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct HistogramBlobHeader { |
| pub Size: u32, |
| pub Histograms: u32, |
| } |
| impl ::core::marker::Copy for HistogramBlobHeader {} |
| impl ::core::clone::Clone for HistogramBlobHeader { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for HistogramBlobHeader { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("HistogramBlobHeader").field("Size", &self.Size).field("Histograms", &self.Histograms).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HistogramBlobHeader { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for HistogramBlobHeader { |
| fn eq(&self, other: &Self) -> bool { |
| self.Size == other.Size && self.Histograms == other.Histograms |
| } |
| } |
| impl ::core::cmp::Eq for HistogramBlobHeader {} |
| impl ::core::default::Default for HistogramBlobHeader { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct HistogramDataHeader { |
| pub Size: u32, |
| pub ChannelMask: u32, |
| pub Linear: u32, |
| } |
| impl ::core::marker::Copy for HistogramDataHeader {} |
| impl ::core::clone::Clone for HistogramDataHeader { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for HistogramDataHeader { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("HistogramDataHeader").field("Size", &self.Size).field("ChannelMask", &self.ChannelMask).field("Linear", &self.Linear).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HistogramDataHeader { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for HistogramDataHeader { |
| fn eq(&self, other: &Self) -> bool { |
| self.Size == other.Size && self.ChannelMask == other.ChannelMask && self.Linear == other.Linear |
| } |
| } |
| impl ::core::cmp::Eq for HistogramDataHeader {} |
| impl ::core::default::Default for HistogramDataHeader { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct HistogramGrid { |
| pub Width: u32, |
| pub Height: u32, |
| pub Region: super::super::Foundation::RECT, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for HistogramGrid {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for HistogramGrid { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for HistogramGrid { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("HistogramGrid").field("Width", &self.Width).field("Height", &self.Height).field("Region", &self.Region).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for HistogramGrid { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for HistogramGrid { |
| fn eq(&self, other: &Self) -> bool { |
| self.Width == other.Width && self.Height == other.Height && self.Region == other.Region |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for HistogramGrid {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for HistogramGrid { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct HistogramHeader { |
| pub Size: u32, |
| pub Bins: u32, |
| pub FourCC: u32, |
| pub ChannelMasks: u32, |
| pub Grid: HistogramGrid, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for HistogramHeader {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for HistogramHeader { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for HistogramHeader { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("HistogramHeader").field("Size", &self.Size).field("Bins", &self.Bins).field("FourCC", &self.FourCC).field("ChannelMasks", &self.ChannelMasks).field("Grid", &self.Grid).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for HistogramHeader { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for HistogramHeader { |
| fn eq(&self, other: &Self) -> bool { |
| self.Size == other.Size && self.Bins == other.Bins && self.FourCC == other.FourCC && self.ChannelMasks == other.ChannelMasks && self.Grid == other.Grid |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for HistogramHeader {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for HistogramHeader { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct MetadataTimeStamps { |
| pub Flags: u32, |
| pub Device: i64, |
| pub Presentation: i64, |
| } |
| impl ::core::marker::Copy for MetadataTimeStamps {} |
| impl ::core::clone::Clone for MetadataTimeStamps { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MetadataTimeStamps { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MetadataTimeStamps").field("Flags", &self.Flags).field("Device", &self.Device).field("Presentation", &self.Presentation).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for MetadataTimeStamps { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MetadataTimeStamps { |
| fn eq(&self, other: &Self) -> bool { |
| self.Flags == other.Flags && self.Device == other.Device && self.Presentation == other.Presentation |
| } |
| } |
| impl ::core::cmp::Eq for MetadataTimeStamps {} |
| impl ::core::default::Default for MetadataTimeStamps { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |