Struct qt_gui::q_paged_paint_device::PdfVersion
source · pub struct PdfVersion(/* private fields */);
Expand description
The PdfVersion enum describes the version of the PDF file that is produced by QPrinter or QPdfWriter.
C++ enum: QPagedPaintDevice::PdfVersion
.
The PdfVersion enum describes the version of the PDF file that is produced by QPrinter or QPdfWriter.
This enum was introduced or modified in Qt 5.10.
Implementations§
source§impl PdfVersion
impl PdfVersion
sourcepub const PdfVersion14: PdfVersion = _
pub const PdfVersion14: PdfVersion = _
A PDF 1.4 compatible document is produced. (C++ enum variant: PdfVersion_1_4 = 0
)
sourcepub const PdfVersionA1b: PdfVersion = _
pub const PdfVersionA1b: PdfVersion = _
A PDF/A-1b compatible document is produced. (C++ enum variant: PdfVersion_A1b = 1
)
sourcepub const PdfVersion16: PdfVersion = _
pub const PdfVersion16: PdfVersion = _
A PDF 1.6 compatible document is produced. This value was added in Qt 5.12. (C++ enum variant: PdfVersion_1_6 = 2
)
Trait Implementations§
source§impl Clone for PdfVersion
impl Clone for PdfVersion
source§fn clone(&self) -> PdfVersion
fn clone(&self) -> PdfVersion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PdfVersion
impl Debug for PdfVersion
source§impl From<PdfVersion> for c_int
impl From<PdfVersion> for c_int
source§fn from(value: PdfVersion) -> Self
fn from(value: PdfVersion) -> Self
Converts to this type from the input type.
source§impl From<i32> for PdfVersion
impl From<i32> for PdfVersion
source§impl PartialEq for PdfVersion
impl PartialEq for PdfVersion
source§fn eq(&self, other: &PdfVersion) -> bool
fn eq(&self, other: &PdfVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PdfVersion
impl Eq for PdfVersion
impl StructuralEq for PdfVersion
impl StructuralPartialEq for PdfVersion
Auto Trait Implementations§
impl RefUnwindSafe for PdfVersion
impl Send for PdfVersion
impl Sync for PdfVersion
impl Unpin for PdfVersion
impl UnwindSafe for PdfVersion
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more