pub struct PdfXCompliance {
pub level: PdfXLevel,
pub output_intent: OutputIntent,
pub fonts_embedded: bool,
pub transparency_flattened: bool,
pub icc_profile: Option<String>,
pub notes: Option<String>,
}Expand description
PDF/X compliance metadata.
Fields§
§level: PdfXLevelPDF/X conformance level.
output_intent: OutputIntentOutput intent specification.
fonts_embedded: boolWhether all fonts are embedded.
transparency_flattened: boolWhether transparency is flattened.
icc_profile: Option<String>ICC color profile reference.
notes: Option<String>Additional compliance notes.
Implementations§
Source§impl PdfXCompliance
impl PdfXCompliance
Sourcepub fn with_icc_profile(self, profile: impl Into<String>) -> Self
pub fn with_icc_profile(self, profile: impl Into<String>) -> Self
Set the ICC profile reference.
Sourcepub fn with_output_intent(self, intent: OutputIntent) -> Self
pub fn with_output_intent(self, intent: OutputIntent) -> Self
Set the output intent.
Trait Implementations§
Source§impl Clone for PdfXCompliance
impl Clone for PdfXCompliance
Source§fn clone(&self) -> PdfXCompliance
fn clone(&self) -> PdfXCompliance
Returns a duplicate 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 PdfXCompliance
impl Debug for PdfXCompliance
Source§impl<'de> Deserialize<'de> for PdfXCompliance
impl<'de> Deserialize<'de> for PdfXCompliance
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PdfXCompliance
impl PartialEq for PdfXCompliance
Source§impl Serialize for PdfXCompliance
impl Serialize for PdfXCompliance
impl StructuralPartialEq for PdfXCompliance
Auto Trait Implementations§
impl Freeze for PdfXCompliance
impl RefUnwindSafe for PdfXCompliance
impl Send for PdfXCompliance
impl Sync for PdfXCompliance
impl Unpin for PdfXCompliance
impl UnsafeUnpin for PdfXCompliance
impl UnwindSafe for PdfXCompliance
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