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 moresourceimpl Debug for PdfPageObjectType
impl Debug for PdfPageObjectType
sourceimpl PartialEq<PdfPageObjectType> for PdfPageObjectType
impl PartialEq<PdfPageObjectType> for PdfPageObjectType
sourcefn eq(&self, other: &PdfPageObjectType) -> bool
fn eq(&self, other: &PdfPageObjectType) -> bool
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>
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 moreimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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