diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Devices/Pwm')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Devices/Pwm/Provider/mod.rs | 5 | ||||
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Devices/Pwm/mod.rs | 19 |
2 files changed, 0 insertions, 24 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Pwm/Provider/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Pwm/Provider/mod.rs deleted file mode 100644 index aca3834bc..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Pwm/Provider/mod.rs +++ /dev/null @@ -1,5 +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 IPwmControllerProvider = *mut ::core::ffi::c_void; -pub type IPwmProvider = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Pwm/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Pwm/mod.rs deleted file mode 100644 index c42792e30..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Pwm/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_Pwm_Provider")] -pub mod Provider; -#[link(name = "windows")] -extern "system" {} -pub type PwmController = *mut ::core::ffi::c_void; -pub type PwmPin = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PwmPulsePolarity(pub i32); -impl PwmPulsePolarity { - pub const ActiveHigh: Self = Self(0i32); - pub const ActiveLow: Self = Self(1i32); -} -impl ::core::marker::Copy for PwmPulsePolarity {} -impl ::core::clone::Clone for PwmPulsePolarity { - fn clone(&self) -> Self { - *self - } -} |