]>
Commit | Line | Data |
---|---|---|
064997fb FG |
1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
2 | #[cfg(feature = "ApplicationModel_DataTransfer_DragDrop_Core")] | |
3 | pub mod Core; | |
4 | #[link(name = "windows")] | |
5 | extern "system" {} | |
6 | #[repr(transparent)] | |
7 | pub struct DragDropModifiers(pub u32); | |
8 | impl DragDropModifiers { | |
9 | pub const None: Self = Self(0u32); | |
10 | pub const Shift: Self = Self(1u32); | |
11 | pub const Control: Self = Self(2u32); | |
12 | pub const Alt: Self = Self(4u32); | |
13 | pub const LeftButton: Self = Self(8u32); | |
14 | pub const MiddleButton: Self = Self(16u32); | |
15 | pub const RightButton: Self = Self(32u32); | |
16 | } | |
17 | impl ::core::marker::Copy for DragDropModifiers {} | |
18 | impl ::core::clone::Clone for DragDropModifiers { | |
19 | fn clone(&self) -> Self { | |
20 | *self | |
21 | } | |
22 | } |