[][src]Struct qt_gui::q_paged_paint_device::PdfVersion

#[repr(transparent)]
pub struct PdfVersion(_);

The PdfVersion enum describes the version of the PDF file that is produced by QPrinter or QPdfWriter.

C++ enum: QPagedPaintDevice::PdfVersion.

C++ documentation:

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.

Methods

impl PdfVersion[src]

pub fn to_int(&self) -> c_int[src]

impl PdfVersion[src]

pub const PdfVersion14: PdfVersion[src]

A PDF 1.4 compatible document is produced. (C++ enum variant: PdfVersion_1_4 = 0)

pub const PdfVersionA1b: PdfVersion[src]

A PDF/A-1b compatible document is produced. (C++ enum variant: PdfVersion_A1b = 1)

pub const PdfVersion16: PdfVersion[src]

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

impl Clone for PdfVersion[src]

impl Copy for PdfVersion[src]

impl Debug for PdfVersion[src]

impl Eq for PdfVersion[src]

impl From<PdfVersion> for c_int[src]

impl From<i32> for PdfVersion[src]

impl PartialEq<PdfVersion> for PdfVersion[src]

impl StructuralEq for PdfVersion[src]

impl StructuralPartialEq for PdfVersion[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.