diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Devices/Adc')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Devices/Adc/Provider/mod.rs | 17 | ||||
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Devices/Adc/mod.rs | 19 |
2 files changed, 0 insertions, 36 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Adc/Provider/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Adc/Provider/mod.rs deleted file mode 100644 index 511f57ba4..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Adc/Provider/mod.rs +++ /dev/null @@ -1,17 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type IAdcControllerProvider = *mut ::core::ffi::c_void; -pub type IAdcProvider = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ProviderAdcChannelMode(pub i32); -impl ProviderAdcChannelMode { - pub const SingleEnded: Self = Self(0i32); - pub const Differential: Self = Self(1i32); -} -impl ::core::marker::Copy for ProviderAdcChannelMode {} -impl ::core::clone::Clone for ProviderAdcChannelMode { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Adc/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Adc/mod.rs deleted file mode 100644 index be695499a..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Adc/mod.rs +++ /dev/null @@ -1,19 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Devices_Adc_Provider")] -pub mod Provider; -#[link(name = "windows")] -extern "system" {} -pub type AdcChannel = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct AdcChannelMode(pub i32); -impl AdcChannelMode { - pub const SingleEnded: Self = Self(0i32); - pub const Differential: Self = Self(1i32); -} -impl ::core::marker::Copy for AdcChannelMode {} -impl ::core::clone::Clone for AdcChannelMode { - fn clone(&self) -> Self { - *self - } -} -pub type AdcController = *mut ::core::ffi::c_void; |