Enum cairo::PdfVersion
source · #[non_exhaustive]pub enum PdfVersion {
_1_4,
_1_5,
_1_6,
_1_7,
}
Available on crate feature
pdf
only.Variants (Non-exhaustive)§
This enum is marked as 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.
Implementations§
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 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 StructuralPartialEq for PdfVersion
Auto Trait Implementations§
impl Freeze for PdfVersion
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