summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/System/Power/mod.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:21 +0000
commit4e8199b572f2035b7749cba276ece3a26630d23e (patch)
treef09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/System/Power/mod.rs
parentAdding upstream version 1.66.0+dfsg1. (diff)
downloadrustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz
rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/System/Power/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/System/Power/mod.rs45
1 files changed, 0 insertions, 45 deletions
diff --git a/vendor/windows-sys/src/Windows/System/Power/mod.rs b/vendor/windows-sys/src/Windows/System/Power/mod.rs
deleted file mode 100644
index 4d7383456..000000000
--- a/vendor/windows-sys/src/Windows/System/Power/mod.rs
+++ /dev/null
@@ -1,45 +0,0 @@
-#[cfg(feature = "System_Power_Diagnostics")]
-pub mod Diagnostics;
-#[doc = "*Required features: `\"System_Power\"`*"]
-#[repr(transparent)]
-pub struct BatteryStatus(pub i32);
-impl BatteryStatus {
- pub const NotPresent: Self = Self(0i32);
- pub const Discharging: Self = Self(1i32);
- pub const Idle: Self = Self(2i32);
- pub const Charging: Self = Self(3i32);
-}
-impl ::core::marker::Copy for BatteryStatus {}
-impl ::core::clone::Clone for BatteryStatus {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"System_Power\"`*"]
-#[repr(transparent)]
-pub struct EnergySaverStatus(pub i32);
-impl EnergySaverStatus {
- pub const Disabled: Self = Self(0i32);
- pub const Off: Self = Self(1i32);
- pub const On: Self = Self(2i32);
-}
-impl ::core::marker::Copy for EnergySaverStatus {}
-impl ::core::clone::Clone for EnergySaverStatus {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"System_Power\"`*"]
-#[repr(transparent)]
-pub struct PowerSupplyStatus(pub i32);
-impl PowerSupplyStatus {
- pub const NotPresent: Self = Self(0i32);
- pub const Inadequate: Self = Self(1i32);
- pub const Adequate: Self = Self(2i32);
-}
-impl ::core::marker::Copy for PowerSupplyStatus {}
-impl ::core::clone::Clone for PowerSupplyStatus {
- fn clone(&self) -> Self {
- *self
- }
-}