| #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
| #[link(name = "windows")] |
| extern "system" {} |
| pub type Geofence = *mut ::core::ffi::c_void; |
| pub type GeofenceMonitor = *mut ::core::ffi::c_void; |
| #[repr(transparent)] |
| pub struct GeofenceMonitorStatus(pub i32); |
| impl GeofenceMonitorStatus { |
| pub const Ready: Self = Self(0i32); |
| pub const Initializing: Self = Self(1i32); |
| pub const NoData: Self = Self(2i32); |
| pub const Disabled: Self = Self(3i32); |
| pub const NotInitialized: Self = Self(4i32); |
| pub const NotAvailable: Self = Self(5i32); |
| } |
| impl ::core::marker::Copy for GeofenceMonitorStatus {} |
| impl ::core::clone::Clone for GeofenceMonitorStatus { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[repr(transparent)] |
| pub struct GeofenceRemovalReason(pub i32); |
| impl GeofenceRemovalReason { |
| pub const Used: Self = Self(0i32); |
| pub const Expired: Self = Self(1i32); |
| } |
| impl ::core::marker::Copy for GeofenceRemovalReason {} |
| impl ::core::clone::Clone for GeofenceRemovalReason { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[repr(transparent)] |
| pub struct GeofenceState(pub u32); |
| impl GeofenceState { |
| pub const None: Self = Self(0u32); |
| pub const Entered: Self = Self(1u32); |
| pub const Exited: Self = Self(2u32); |
| pub const Removed: Self = Self(4u32); |
| } |
| impl ::core::marker::Copy for GeofenceState {} |
| impl ::core::clone::Clone for GeofenceState { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type GeofenceStateChangeReport = *mut ::core::ffi::c_void; |
| #[repr(transparent)] |
| pub struct MonitoredGeofenceStates(pub u32); |
| impl MonitoredGeofenceStates { |
| pub const None: Self = Self(0u32); |
| pub const Entered: Self = Self(1u32); |
| pub const Exited: Self = Self(2u32); |
| pub const Removed: Self = Self(4u32); |
| } |
| impl ::core::marker::Copy for MonitoredGeofenceStates {} |
| impl ::core::clone::Clone for MonitoredGeofenceStates { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |