Struct pdf_writer::writers::Pages[][src]

pub struct Pages<'a> { /* fields omitted */ }
Expand description

Writer for a page tree dictionary.

This struct is created by PdfWriter::pages.

Implementations

Write the /Parent attribute. Required except in root node.

Write the /Kids attributes, listing the immediate children of this node in the page tree. Required.

Write the /Count attribute, specifying how many descendants this node in the page tree has. This may be different to the length of /Kids when the tree has multiple layers. Required.

Write the /MediaBox attribute.

Start writing the /Resources dictionary.

Methods from Deref<Target = Dict<'a>>

The number of written pairs.

Start writing a pair with an arbitrary value.

Write a pair with a primitive value.

This is a shorthand for dict.insert(key).primitive(value).

Write a sequence of pairs with primitive values.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Start writing the object.

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 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.