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
Unsupported
Text
Path
Image
Shading
FormFragment
Trait Implementations
sourceimpl Clone for PdfPageObjectType
impl Clone for PdfPageObjectType
sourcefn clone(&self) -> PdfPageObjectType
fn clone(&self) -> PdfPageObjectType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PdfPageObjectType
impl Debug for PdfPageObjectType
sourceimpl PartialOrd<PdfPageObjectType> for PdfPageObjectType
impl PartialOrd<PdfPageObjectType> for PdfPageObjectType
sourcefn partial_cmp(&self, other: &PdfPageObjectType) -> Option<Ordering>
fn partial_cmp(&self, other: &PdfPageObjectType) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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
impl Copy for PdfPageObjectType
impl StructuralPartialEq for PdfPageObjectType
Auto Trait Implementations
impl RefUnwindSafe for PdfPageObjectType
impl Send for PdfPageObjectType
impl Sync for PdfPageObjectType
impl Unpin for PdfPageObjectType
impl UnwindSafe for PdfPageObjectType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more