Struct implot::PlotText[][src]

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

Struct to provide functionality for adding text within a plot

Implementations

Create a new text label to be shown. Does not draw anything yet.

Add a pixel offset to the text to be plotted. This offset will be independent of the scaling of the plot itself.

Draw the text label in the plot at the given position, optionally vertically. Use this in closures passed to Plot::build()

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.