Struct egui::widgets::plot::Text[][src]

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

Text inside the plot.

Implementations

Highlight this text in the plot by drawing a rectangle around it.

Text style. Default is TextStyle::Small.

Text color. Default is Color32::TRANSPARENT which means a color will be auto-assigned.

Anchor position of the text. Default is Align2::CENTER_CENTER.

Name of this text.

This name will show up in the plot legend, if legends are turned on.

Multiple plot items may share the same name, in which case they will also share an entry in the legend.

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.