Enum cairo::PdfVersion
source · #[non_exhaustive]
pub enum PdfVersion {
_1_4,
_1_5,
}
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 Display for PdfVersion
impl Display for PdfVersion
source§impl PartialEq<PdfVersion> for PdfVersion
impl PartialEq<PdfVersion> 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 ==
.