diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Management/Workplace/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Management/Workplace/mod.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Management/Workplace/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Management/Workplace/mod.rs new file mode 100644 index 000000000..435b4181e --- /dev/null +++ b/vendor/windows-sys-0.28.0/src/Windows/Management/Workplace/mod.rs @@ -0,0 +1,16 @@ +#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] +#[link(name = "windows")] +extern "system" {} +#[repr(transparent)] +pub struct MessagingSyncPolicy(pub i32); +impl MessagingSyncPolicy { + pub const Disallowed: Self = Self(0i32); + pub const Allowed: Self = Self(1i32); + pub const Required: Self = Self(2i32); +} +impl ::core::marker::Copy for MessagingSyncPolicy {} +impl ::core::clone::Clone for MessagingSyncPolicy { + fn clone(&self) -> Self { + *self + } +} |