Struct pdf_writer::writers::PostScriptFunction[][src]

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

Writer for a PostScript function stream.

This struct is created by PdfWriter::post_script_function.

Implementations

Write the /Domain attribute to set where the function is defined. Required.

Write the /Range attribute.

Required for sampled and PostScript functions.

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

Write the /Filter attribute.

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.

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.