Struct pdf_writer::writers::Destination[][src]

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

Writer for a destination array.

This struct is created by Destinations::insert and Action::destination_direct.

Implementations

The target page. Required.

Write the /XYZ command which skips to the specified coordinated.

Write the /Fit command which fits all of the referenced page on screen.

Write the /FitH command which fits the referenced page to the screen width and skips to the specified offset.

Write the /FitV command which fits the referenced page to the screen height and skips to the specified offset.

Write the /FitR command which fits the rectangle argument on the screen.

Write the /FitB command which fits all of the referenced page’s content on screen. PDF 1.1+.

Write the /FitBH command which fits the referenced page’s content to the screen width and skips to the specified offset. PDF 1.1+.

Write the /FitBV command which fits the referenced page’s content to the screen height and skips to the specified offset. PDF 1.1+.

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

The number of written items.

Start writing an arbitrary item.

Write an item with a primitive value.

This is a shorthand for array.push().primitive(value).

Write a sequence of items 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.