[][src]Enum cairo::PdfVersion

#[non_exhaustive]pub enum PdfVersion {
    _1_4,
    _1_5,
    // some variants omitted
}

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
_1_4
_1_5

Implementations

impl PdfVersion[src]

pub fn as_str(self) -> Option<&'static str>[src]

Trait Implementations

impl Clone for PdfVersion[src]

impl Copy for PdfVersion[src]

impl Debug for PdfVersion[src]

impl Display for PdfVersion[src]

impl Eq for PdfVersion[src]

impl PartialEq<PdfVersion> for PdfVersion[src]

impl StructuralEq for PdfVersion[src]

impl StructuralPartialEq for PdfVersion[src]

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

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> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.