summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys-0.28.0/src/Windows/Devices/Spi/Provider/mod.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:25 +0000
commit5363f350887b1e5b5dd21a86f88c8af9d7fea6da (patch)
tree35ca005eb6e0e9a1ba3bb5dbc033209ad445dc17 /vendor/windows-sys-0.28.0/src/Windows/Devices/Spi/Provider/mod.rs
parentAdding debian version 1.66.0+dfsg1-1. (diff)
downloadrustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.tar.xz
rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.zip
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Devices/Spi/Provider/mod.rs')
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Devices/Spi/Provider/mod.rs33
1 files changed, 0 insertions, 33 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Spi/Provider/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Spi/Provider/mod.rs
deleted file mode 100644
index d100741a8..000000000
--- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Spi/Provider/mod.rs
+++ /dev/null
@@ -1,33 +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 ISpiControllerProvider = *mut ::core::ffi::c_void;
-pub type ISpiDeviceProvider = *mut ::core::ffi::c_void;
-pub type ISpiProvider = *mut ::core::ffi::c_void;
-pub type ProviderSpiConnectionSettings = *mut ::core::ffi::c_void;
-#[repr(transparent)]
-pub struct ProviderSpiMode(pub i32);
-impl ProviderSpiMode {
- pub const Mode0: Self = Self(0i32);
- pub const Mode1: Self = Self(1i32);
- pub const Mode2: Self = Self(2i32);
- pub const Mode3: Self = Self(3i32);
-}
-impl ::core::marker::Copy for ProviderSpiMode {}
-impl ::core::clone::Clone for ProviderSpiMode {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(transparent)]
-pub struct ProviderSpiSharingMode(pub i32);
-impl ProviderSpiSharingMode {
- pub const Exclusive: Self = Self(0i32);
- pub const Shared: Self = Self(1i32);
-}
-impl ::core::marker::Copy for ProviderSpiSharingMode {}
-impl ::core::clone::Clone for ProviderSpiSharingMode {
- fn clone(&self) -> Self {
- *self
- }
-}