Struct pdf_writer::writers::Reference[][src]

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

Writer for an external XObject reference dictionary. PDF 1.4+.

This struct is created by FormXObject::reference.

Implementations

Start writing the /F attribute to set a file specification dictionary. Required.

Write the /Page attribute to set the page number. Setting the attribute through either this function or Self::page_label is required. Page indices start at 0.

Write the /Page attribute to set the page label. Setting the attribute through either this function or Self::page_number is required.

Write the /ID attribute to set the file identifier.

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.