]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Devices/Adc/mod.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / vendor / windows-sys / 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 pub type AdcChannel = *mut ::core::ffi::c_void;
5 #[doc = "*Required features: 'Devices_Adc'*"]
6 #[repr(transparent)]
7 pub struct AdcChannelMode(pub i32);
8 impl AdcChannelMode {
9 pub const SingleEnded: Self = Self(0i32);
10 pub const Differential: Self = Self(1i32);
11 }
12 impl ::core::marker::Copy for AdcChannelMode {}
13 impl ::core::clone::Clone for AdcChannelMode {
14 fn clone(&self) -> Self {
15 *self
16 }
17 }
18 pub type AdcController = *mut ::core::ffi::c_void;