From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/windows-sys/src/Windows/Data/Pdf/mod.rs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/Data/Pdf/mod.rs (limited to 'vendor/windows-sys/src/Windows/Data/Pdf/mod.rs') diff --git a/vendor/windows-sys/src/Windows/Data/Pdf/mod.rs b/vendor/windows-sys/src/Windows/Data/Pdf/mod.rs new file mode 100644 index 000000000..8b27b6a98 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Data/Pdf/mod.rs @@ -0,0 +1,19 @@ +pub type PdfDocument = *mut ::core::ffi::c_void; +pub type PdfPage = *mut ::core::ffi::c_void; +pub type PdfPageDimensions = *mut ::core::ffi::c_void; +pub type PdfPageRenderOptions = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Data_Pdf\"`*"] +#[repr(transparent)] +pub struct PdfPageRotation(pub i32); +impl PdfPageRotation { + pub const Normal: Self = Self(0i32); + pub const Rotate90: Self = Self(1i32); + pub const Rotate180: Self = Self(2i32); + pub const Rotate270: Self = Self(3i32); +} +impl ::core::marker::Copy for PdfPageRotation {} +impl ::core::clone::Clone for PdfPageRotation { + fn clone(&self) -> Self { + *self + } +} -- cgit v1.2.3