pub struct TextSection<'f, 'p> { /* private fields */ }
Expand description

A text section that is drawn on an area of a PDF layer.

Implementations§

Tries to add a new line and returns true if the area was large enough to fit the new line.

Prints the given string with the given style.

The font cache for this text section must contain the PDF font for the given style.

Trait Implementations§

Executes the destructor for this type. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.