Enum implot::StyleVar[][src]

#[repr(u32)]
pub enum StyleVar {
Show 27 variants LineWeight, Marker, MarkerSize, MarkerWeight, FillAlpha, ErrorBarSize, ErrorBarWeight, DigitalBitHeight, DigitalBitGap, PlotBorderSize, MinorAlpha, MajorTickLen, MinorTickLen, MajorTickSize, MinorTickSize, MajorGridSize, MinorGridSize, PlotPadding, LabelPadding, LegendPadding, LegendInnerPadding, LegendSpacing, MousePosPadding, AnnotationPadding, FitPadding, PlotDefaultSize, PlotMinSize,
}
Expand description

Style variable choice, as in “which thing will be affected by a style setting”.

Variants

LineWeight

f32, line weight in pixels

Marker

u32, marker specification

MarkerSize

f32, marker size in pixels (roughly the marker’s “radius”)

MarkerWeight

f32, outline weight of markers in pixels

FillAlpha

f32, alpha modifier applied to all plot item fills

ErrorBarSize

f32, error bar whisker width in pixels

ErrorBarWeight

f32, error bar whisker weight in pixels

DigitalBitHeight

f32, digital channels bit height (at 1) in pixels

DigitalBitGap

f32, digital channels bit padding gap in pixels

PlotBorderSize

f32, thickness of border around plot area

MinorAlpha

f32, alpha multiplier applied to minor axis grid lines

MajorTickLen

ImVec2, major tick lengths for X and Y axes

MinorTickLen

ImVec2, minor tick lengths for X and Y axes

MajorTickSize

ImVec2, line thickness of major ticks

MinorTickSize

ImVec2, line thickness of minor ticks

MajorGridSize

ImVec2, line thickness of major grid lines

MinorGridSize

ImVec2, line thickness of minor grid lines

PlotPadding

ImVec2, padding between widget frame and plot area and/or labels

LabelPadding

ImVec2, padding between axes labels, tick labels, and plot edge

LegendPadding

ImVec2, legend padding from top-left of plot

LegendInnerPadding

ImVec2, legend inner padding from legend edges

LegendSpacing

ImVec2, spacing between legend entries

MousePosPadding

ImVec2, padding between plot edge and interior info text

AnnotationPadding

ImVec2, text padding around annotation labels

FitPadding

ImVec2, additional fit padding as a percentage of the fit extents (e.g. ImVec2(0.1f,0.1f) adds 10% to the fit extents of X and Y)

PlotDefaultSize

ImVec2, default size used when ImVec2(0,0) is passed to BeginPlot

PlotMinSize

ImVec2, minimum size plot frame can be when shrunk

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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.