]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / src / Windows / ApplicationModel / DataTransfer / DragDrop / mod.rs
CommitLineData
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")]
3pub mod Core;
4#[link(name = "windows")]
5extern "system" {}
6#[repr(transparent)]
7pub struct DragDropModifiers(pub u32);
8impl 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}
17impl ::core::marker::Copy for DragDropModifiers {}
18impl ::core::clone::Clone for DragDropModifiers {
19 fn clone(&self) -> Self {
20 *self
21 }
22}