]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.28.0/src/Windows/Data/Pdf/mod.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / src / Windows / Data / Pdf / mod.rs
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 pub type PdfDocument = *mut ::core::ffi::c_void;
5 pub type PdfPage = *mut ::core::ffi::c_void;
6 pub type PdfPageDimensions = *mut ::core::ffi::c_void;
7 pub type PdfPageRenderOptions = *mut ::core::ffi::c_void;
8 #[repr(transparent)]
9 pub struct PdfPageRotation(pub i32);
10 impl PdfPageRotation {
11 pub const Normal: Self = Self(0i32);
12 pub const Rotate90: Self = Self(1i32);
13 pub const Rotate180: Self = Self(2i32);
14 pub const Rotate270: Self = Self(3i32);
15 }
16 impl ::core::marker::Copy for PdfPageRotation {}
17 impl ::core::clone::Clone for PdfPageRotation {
18 fn clone(&self) -> Self {
19 *self
20 }
21 }