Struct pdf_writer::writers::Widths[][src]

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

Writer for a CID font widths array.

This struct is created by CidFont::widths.

Implementations

Specifies individual widths for a range of consecutive CIDs starting at start.

Specifies the same width for all CIDs between first and last.

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.