Enum implot::StyleVar[][src]

#[repr(u32)]pub enum StyleVar {
    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,
}

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

impl Clone for StyleVar[src]

impl Copy for StyleVar[src]

impl Debug for StyleVar[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.