diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
commit | 5363f350887b1e5b5dd21a86f88c8af9d7fea6da (patch) | |
tree | 35ca005eb6e0e9a1ba3bb5dbc033209ad445dc17 /vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/Core/mod.rs | |
parent | Adding debian version 1.66.0+dfsg1-1. (diff) | |
download | rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.tar.xz rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.zip |
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/Core/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/Core/mod.rs | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/Core/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/Core/mod.rs deleted file mode 100644 index 2b3e8570b..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/Core/mod.rs +++ /dev/null @@ -1,68 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -#[repr(transparent)] -pub struct HdmiDisplayColorSpace(pub i32); -impl HdmiDisplayColorSpace { - pub const RgbLimited: Self = Self(0i32); - pub const RgbFull: Self = Self(1i32); - pub const BT2020: Self = Self(2i32); - pub const BT709: Self = Self(3i32); -} -impl ::core::marker::Copy for HdmiDisplayColorSpace {} -impl ::core::clone::Clone for HdmiDisplayColorSpace { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct HdmiDisplayHdr2086Metadata { - pub RedPrimaryX: u16, - pub RedPrimaryY: u16, - pub GreenPrimaryX: u16, - pub GreenPrimaryY: u16, - pub BluePrimaryX: u16, - pub BluePrimaryY: u16, - pub WhitePointX: u16, - pub WhitePointY: u16, - pub MaxMasteringLuminance: u16, - pub MinMasteringLuminance: u16, - pub MaxContentLightLevel: u16, - pub MaxFrameAverageLightLevel: u16, -} -impl ::core::marker::Copy for HdmiDisplayHdr2086Metadata {} -impl ::core::clone::Clone for HdmiDisplayHdr2086Metadata { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct HdmiDisplayHdrOption(pub i32); -impl HdmiDisplayHdrOption { - pub const None: Self = Self(0i32); - pub const EotfSdr: Self = Self(1i32); - pub const Eotf2084: Self = Self(2i32); - pub const DolbyVisionLowLatency: Self = Self(3i32); -} -impl ::core::marker::Copy for HdmiDisplayHdrOption {} -impl ::core::clone::Clone for HdmiDisplayHdrOption { - fn clone(&self) -> Self { - *self - } -} -pub type HdmiDisplayInformation = *mut ::core::ffi::c_void; -pub type HdmiDisplayMode = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct HdmiDisplayPixelEncoding(pub i32); -impl HdmiDisplayPixelEncoding { - pub const Rgb444: Self = Self(0i32); - pub const Ycc444: Self = Self(1i32); - pub const Ycc422: Self = Self(2i32); - pub const Ycc420: Self = Self(3i32); -} -impl ::core::marker::Copy for HdmiDisplayPixelEncoding {} -impl ::core::clone::Clone for HdmiDisplayPixelEncoding { - fn clone(&self) -> Self { - *self - } -} |