]>
Commit | Line | Data |
---|---|---|
064997fb FG |
1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
2 | #[link(name = "windows")] | |
3 | extern "system" {} | |
4 | #[repr(transparent)] | |
5 | pub struct HingeState(pub i32); | |
6 | impl HingeState { | |
7 | pub const Unknown: Self = Self(0i32); | |
8 | pub const Closed: Self = Self(1i32); | |
9 | pub const Concave: Self = Self(2i32); | |
10 | pub const Flat: Self = Self(3i32); | |
11 | pub const Convex: Self = Self(4i32); | |
12 | pub const Full: Self = Self(5i32); | |
13 | } | |
14 | impl ::core::marker::Copy for HingeState {} | |
15 | impl ::core::clone::Clone for HingeState { | |
16 | fn clone(&self) -> Self { | |
17 | *self | |
18 | } | |
19 | } | |
20 | pub type TwoPanelHingedDevicePosturePreview = *mut ::core::ffi::c_void; | |
21 | pub type TwoPanelHingedDevicePosturePreviewReading = *mut ::core::ffi::c_void; | |
22 | pub type TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs = *mut ::core::ffi::c_void; |