]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.28.0/src/Windows/Devices/Adc/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / src / Windows / Devices / Adc / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[cfg(feature = "Devices_Adc_Provider")]
3 pub mod Provider;
4 #[link(name = "windows")]
5 extern "system" {}
6 pub type AdcChannel = *mut ::core::ffi::c_void;
7 #[repr(transparent)]
8 pub struct AdcChannelMode(pub i32);
9 impl AdcChannelMode {
10 pub const SingleEnded: Self = Self(0i32);
11 pub const Differential: Self = Self(1i32);
12 }
13 impl ::core::marker::Copy for AdcChannelMode {}
14 impl ::core::clone::Clone for AdcChannelMode {
15 fn clone(&self) -> Self {
16 *self
17 }
18 }
19 pub type AdcController = *mut ::core::ffi::c_void;