[][src]Function implot::push_style_var_f32

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

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();