Enum poppler::PDFConformance
source · #[non_exhaustive]pub enum PDFConformance {
Unset,
A,
B,
G,
N,
P,
Pg,
U,
None,
}
Expand description
PDF Subtype Conformance
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.
Unset
Null
A
Level A (accessible) conformance (PDF/A)
B
Level B (basic) conformance (PDF/A)
G
Level G (external graphical content) (PDF/X)
N
Level N (external ICC Profile) (PDF/X)
P
Level P (ICC Profile) (PDF/X)
Pg
Level PG (conjunction of P and G) (PDF/X)
U
Level U (Unicode) conformance (PDF/A)
None
No conformance level available
Trait Implementations§
source§impl Clone for PDFConformance
impl Clone for PDFConformance
source§fn clone(&self) -> PDFConformance
fn clone(&self) -> PDFConformance
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 PDFConformance
impl Debug for PDFConformance
source§impl Display for PDFConformance
impl Display for PDFConformance
source§impl From<PDFConformance> for Value
impl From<PDFConformance> for Value
source§fn from(v: PDFConformance) -> Self
fn from(v: PDFConformance) -> Self
Converts to this type from the input type.
source§impl<'a> FromValue<'a> for PDFConformance
impl<'a> FromValue<'a> for PDFConformance
§type Checker = GenericValueTypeChecker<PDFConformance>
type Checker = GenericValueTypeChecker<PDFConformance>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl HasParamSpec for PDFConformance
impl HasParamSpec for PDFConformance
type ParamSpec = ParamSpecEnum
§type SetValue = PDFConformance
type SetValue = PDFConformance
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: PDFConformance) -> ParamSpecEnumBuilder<'_, PDFConformance>
fn param_spec_builder() -> Self::BuilderFn
source§impl Hash for PDFConformance
impl Hash for PDFConformance
source§impl Ord for PDFConformance
impl Ord for PDFConformance
source§fn cmp(&self, other: &PDFConformance) -> Ordering
fn cmp(&self, other: &PDFConformance) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<PDFConformance> for PDFConformance
impl PartialEq<PDFConformance> for PDFConformance
source§fn eq(&self, other: &PDFConformance) -> bool
fn eq(&self, other: &PDFConformance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PDFConformance> for PDFConformance
impl PartialOrd<PDFConformance> for PDFConformance
source§fn partial_cmp(&self, other: &PDFConformance) -> Option<Ordering>
fn partial_cmp(&self, other: &PDFConformance) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for PDFConformance
impl StaticType for PDFConformance
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToValue for PDFConformance
impl ToValue for PDFConformance
source§impl ValueType for PDFConformance
impl ValueType for PDFConformance
§type Type = PDFConformance
type Type = PDFConformance
Type to get the
Type
from. Read moreimpl Copy for PDFConformance
impl Eq for PDFConformance
impl StructuralEq for PDFConformance
impl StructuralPartialEq for PDFConformance
Auto Trait Implementations§
impl RefUnwindSafe for PDFConformance
impl Send for PDFConformance
impl Sync for PDFConformance
impl Unpin for PDFConformance
impl UnwindSafe for PDFConformance
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
source§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.