diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
commit | 4e8199b572f2035b7749cba276ece3a26630d23e (patch) | |
tree | f09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Devices/Radios | |
parent | Adding upstream version 1.66.0+dfsg1. (diff) | |
download | rustc-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/Devices/Radios')
-rw-r--r-- | vendor/windows-sys/src/Windows/Devices/Radios/mod.rs | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/vendor/windows-sys/src/Windows/Devices/Radios/mod.rs b/vendor/windows-sys/src/Windows/Devices/Radios/mod.rs deleted file mode 100644 index dcc70cabb..000000000 --- a/vendor/windows-sys/src/Windows/Devices/Radios/mod.rs +++ /dev/null @@ -1,47 +0,0 @@ -pub type Radio = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Devices_Radios\"`*"] -#[repr(transparent)] -pub struct RadioAccessStatus(pub i32); -impl RadioAccessStatus { - pub const Unspecified: Self = Self(0i32); - pub const Allowed: Self = Self(1i32); - pub const DeniedByUser: Self = Self(2i32); - pub const DeniedBySystem: Self = Self(3i32); -} -impl ::core::marker::Copy for RadioAccessStatus {} -impl ::core::clone::Clone for RadioAccessStatus { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Devices_Radios\"`*"] -#[repr(transparent)] -pub struct RadioKind(pub i32); -impl RadioKind { - pub const Other: Self = Self(0i32); - pub const WiFi: Self = Self(1i32); - pub const MobileBroadband: Self = Self(2i32); - pub const Bluetooth: Self = Self(3i32); - pub const FM: Self = Self(4i32); -} -impl ::core::marker::Copy for RadioKind {} -impl ::core::clone::Clone for RadioKind { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Devices_Radios\"`*"] -#[repr(transparent)] -pub struct RadioState(pub i32); -impl RadioState { - pub const Unknown: Self = Self(0i32); - pub const On: Self = Self(1i32); - pub const Off: Self = Self(2i32); - pub const Disabled: Self = Self(3i32); -} -impl ::core::marker::Copy for RadioState {} -impl ::core::clone::Clone for RadioState { - fn clone(&self) -> Self { - *self - } -} |