pub enum PdfPageObjectType {
Unsupported,
Text,
Path,
Image,
Shading,
FormFragment,
}Expand description
The type of a single PdfPageObject.
Note that Pdfium does not support or recognize all PDF page object types. For instance, Pdfium does not currently support or recognize the External Object (“XObject”) page object type supported by Adobe Acrobat and Foxit’s commercial PDF SDK. In these cases, Pdfium will return PdfPageObjectType::Unsupported.
Variants§
Trait Implementations§
source§impl Clone for PdfPageObjectType
impl Clone for PdfPageObjectType
source§fn clone(&self) -> PdfPageObjectType
fn clone(&self) -> PdfPageObjectType
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 PdfPageObjectType
impl Debug for PdfPageObjectType
source§impl Hash for PdfPageObjectType
impl Hash for PdfPageObjectType
source§impl PartialEq<PdfPageObjectType> for PdfPageObjectType
impl PartialEq<PdfPageObjectType> for PdfPageObjectType
source§fn eq(&self, other: &PdfPageObjectType) -> bool
fn eq(&self, other: &PdfPageObjectType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<PdfPageObjectType> for PdfPageObjectType
impl PartialOrd<PdfPageObjectType> for PdfPageObjectType
source§fn partial_cmp(&self, other: &PdfPageObjectType) -> Option<Ordering>
fn partial_cmp(&self, other: &PdfPageObjectType) -> 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 more