pub enum PdfXLevel {
X1a2003,
X32003,
X4,
}Expand description
PDF/X conformance level (ISO 15930).
Variants§
X1a2003
PDF/X-1a:2003 — CMYK-only, no transparency.
X32003
PDF/X-3:2003 — allows color-managed workflows, no transparency.
X4
PDF/X-4 — allows transparency and ICC-based colors.
Implementations§
Source§impl PdfXLevel
impl PdfXLevel
Sourcepub fn forbids_transparency(self) -> bool
pub fn forbids_transparency(self) -> bool
Whether this level forbids transparency.
Sourcepub fn version_string(self) -> &'static str
pub fn version_string(self) -> &'static str
Human-readable version string.
Sourcepub fn gts_version(self) -> &'static str
pub fn gts_version(self) -> &'static str
GTS version identifier for XMP metadata.
Trait Implementations§
impl Copy for PdfXLevel
impl Eq for PdfXLevel
impl StructuralPartialEq for PdfXLevel
Auto Trait Implementations§
impl Freeze for PdfXLevel
impl RefUnwindSafe for PdfXLevel
impl Send for PdfXLevel
impl Sync for PdfXLevel
impl Unpin for PdfXLevel
impl UnsafeUnpin for PdfXLevel
impl UnwindSafe for PdfXLevel
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