Struct genpdf::elements::FrameCellDecorator[][src]

pub struct FrameCellDecorator { /* fields omitted */ }
Expand description

A cell decorator that draws frames around table cells.

This decorator draws frames around the cells of a TableLayout. You can configure whether inner, outer and continuation borders are drawn. A continuation border is a border between a cell and the page margin that occurs if a cell has to be wrapped to a new page.

Implementations

Creates a new frame cell decorator with the given settings for inner, outer and continuation borders.

Trait Implementations

Sets the size of the table. Read more

Styles the cell with the given indizes thas has been rendered within the given area.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a 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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.