Function implot::push_style_var_f32[][src]

pub fn push_style_var_f32(element: &StyleVar, value: f32) -> StyleVarToken
Expand description

Push a f32 style variable to the stack. The returned token is used for removing the variable from the stack again:

let pushed_var = push_style_var_f32(&StyleVar::LineWeight, 11.0);
// Plot some things
pushed_var.pop();