Struct pdf_writer::writers::Outline[][src]

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

Writer for an outline dictionary.

This struct is created by PdfWriter::outline.

Implementations

Write the /First attribute which points to the first item in the document’s outline.

Write the /Last attribute which points to the last item in the document’s outline.

Write the /Count attribute. This tells the viewer how many outline elements (at all levels) are currently visible.

Panics if count is negative.

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.