Struct caper::types::TextItemBuilder [] [src]

pub struct TextItemBuilder { /* fields omitted */ }

Builder for TextItem.

Methods

impl TextItemBuilder
[src]

The text that the item displays

The color the text is displayed in

The position to display this text

The scale/size the text is displayed at

Whether this item is active/should be rendered

The name of the RenderItem for lookup

Builds a new TextItem.

Errors

If a required field has not been initialized.

Trait Implementations

impl Default for TextItemBuilder
[src]

Returns the "default value" for a type. Read more

impl Clone for TextItemBuilder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more