]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Devices/Geolocation/Geofencing/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Devices / Geolocation / Geofencing / mod.rs
CommitLineData
5e7ed085
FG
1#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2pub type Geofence = *mut ::core::ffi::c_void;
3pub type GeofenceMonitor = *mut ::core::ffi::c_void;
04454e1e 4#[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"]
5e7ed085
FG
5#[repr(transparent)]
6pub struct GeofenceMonitorStatus(pub i32);
7impl GeofenceMonitorStatus {
8 pub const Ready: Self = Self(0i32);
9 pub const Initializing: Self = Self(1i32);
10 pub const NoData: Self = Self(2i32);
11 pub const Disabled: Self = Self(3i32);
12 pub const NotInitialized: Self = Self(4i32);
13 pub const NotAvailable: Self = Self(5i32);
14}
15impl ::core::marker::Copy for GeofenceMonitorStatus {}
16impl ::core::clone::Clone for GeofenceMonitorStatus {
17 fn clone(&self) -> Self {
18 *self
19 }
20}
04454e1e 21#[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"]
5e7ed085
FG
22#[repr(transparent)]
23pub struct GeofenceRemovalReason(pub i32);
24impl GeofenceRemovalReason {
25 pub const Used: Self = Self(0i32);
26 pub const Expired: Self = Self(1i32);
27}
28impl ::core::marker::Copy for GeofenceRemovalReason {}
29impl ::core::clone::Clone for GeofenceRemovalReason {
30 fn clone(&self) -> Self {
31 *self
32 }
33}
04454e1e 34#[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"]
5e7ed085
FG
35#[repr(transparent)]
36pub struct GeofenceState(pub u32);
37impl GeofenceState {
38 pub const None: Self = Self(0u32);
39 pub const Entered: Self = Self(1u32);
40 pub const Exited: Self = Self(2u32);
41 pub const Removed: Self = Self(4u32);
42}
43impl ::core::marker::Copy for GeofenceState {}
44impl ::core::clone::Clone for GeofenceState {
45 fn clone(&self) -> Self {
46 *self
47 }
48}
49pub type GeofenceStateChangeReport = *mut ::core::ffi::c_void;
04454e1e 50#[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"]
5e7ed085
FG
51#[repr(transparent)]
52pub struct MonitoredGeofenceStates(pub u32);
53impl MonitoredGeofenceStates {
54 pub const None: Self = Self(0u32);
55 pub const Entered: Self = Self(1u32);
56 pub const Exited: Self = Self(2u32);
57 pub const Removed: Self = Self(4u32);
58}
59impl ::core::marker::Copy for MonitoredGeofenceStates {}
60impl ::core::clone::Clone for MonitoredGeofenceStates {
61 fn clone(&self) -> Self {
62 *self
63 }
64}