pub struct PdfPageObjects<'a> { /* private fields */ }
Expand description

The page objects contained within a single PdfPage.

Content in a PDF page is structured as a stream of PdfPageObject objects of different types: text objects, image objects, path objects, and so on. 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.

Implementations

Returns the total number of page objects within the containing PdfPage.

Returns true if this PdfPageObjects collection is empty.

Returns a Range from 0..(number of objects) for this PdfPageObjects collection.

Returns a single PdfPageObject from this PdfPageObjects collection.

Returns an iterator over all the page objects in this PdfPageObjects collection.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.