Struct pdf_writer::writers::Action[][src]

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

Writer for an action dictionary.

This struct is created by Annotation::action.

Implementations

Write the /S attribute to set the action type.

Start writing the /D attribute to set the destination of this GoTo-type action.

Write the /D attribute to set the destination of this GoTo-type action to a named destination.

Start writing the /F attribute, setting which file to go to or which application to launch.

Write the /NewWindow attribute to set whether this remote GoTo action should open the referenced destination in another window.

Write the /URI attribute to set where this link action goes.

Write the /IsMap attribute to set if the click position of the user’s cursor inside the link rectangle should be appended to the referenced URI as a query parameter.

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.