From 5363f350887b1e5b5dd21a86f88c8af9d7fea6da Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:25 +0200 Subject: Merging upstream version 1.67.1+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Devices/Gpio/Provider/mod.rs | 61 ---------------------- 1 file changed, 61 deletions(-) delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Devices/Gpio/Provider/mod.rs (limited to 'vendor/windows-sys-0.28.0/src/Windows/Devices/Gpio/Provider/mod.rs') diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Gpio/Provider/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Gpio/Provider/mod.rs deleted file mode 100644 index 06d03346e..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Gpio/Provider/mod.rs +++ /dev/null @@ -1,61 +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 GpioPinProviderValueChangedEventArgs = *mut ::core::ffi::c_void; -pub type IGpioControllerProvider = *mut ::core::ffi::c_void; -pub type IGpioPinProvider = *mut ::core::ffi::c_void; -pub type IGpioProvider = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ProviderGpioPinDriveMode(pub i32); -impl ProviderGpioPinDriveMode { - pub const Input: Self = Self(0i32); - pub const Output: Self = Self(1i32); - pub const InputPullUp: Self = Self(2i32); - pub const InputPullDown: Self = Self(3i32); - pub const OutputOpenDrain: Self = Self(4i32); - pub const OutputOpenDrainPullUp: Self = Self(5i32); - pub const OutputOpenSource: Self = Self(6i32); - pub const OutputOpenSourcePullDown: Self = Self(7i32); -} -impl ::core::marker::Copy for ProviderGpioPinDriveMode {} -impl ::core::clone::Clone for ProviderGpioPinDriveMode { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct ProviderGpioPinEdge(pub i32); -impl ProviderGpioPinEdge { - pub const FallingEdge: Self = Self(0i32); - pub const RisingEdge: Self = Self(1i32); -} -impl ::core::marker::Copy for ProviderGpioPinEdge {} -impl ::core::clone::Clone for ProviderGpioPinEdge { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct ProviderGpioPinValue(pub i32); -impl ProviderGpioPinValue { - pub const Low: Self = Self(0i32); - pub const High: Self = Self(1i32); -} -impl ::core::marker::Copy for ProviderGpioPinValue {} -impl ::core::clone::Clone for ProviderGpioPinValue { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct ProviderGpioSharingMode(pub i32); -impl ProviderGpioSharingMode { - pub const Exclusive: Self = Self(0i32); - pub const SharedReadOnly: Self = Self(1i32); -} -impl ::core::marker::Copy for ProviderGpioSharingMode {} -impl ::core::clone::Clone for ProviderGpioSharingMode { - fn clone(&self) -> Self { - *self - } -} -- cgit v1.2.3