Trait VariableExt

Source
trait VariableExt {
    // Required method
    fn bool_drawing_spec(
        &self,
        user_color: Color32,
        theme: &SurferTheme,
        value_kind: ValueKind,
    ) -> (f32, Color32, Option<Color32>);
}

Required Methods§

Source

fn bool_drawing_spec( &self, user_color: Color32, theme: &SurferTheme, value_kind: ValueKind, ) -> (f32, Color32, Option<Color32>)

Implementations on Foreign Types§

Source§

impl VariableExt for String

Source§

fn bool_drawing_spec( &self, user_color: Color32, theme: &SurferTheme, value_kind: ValueKind, ) -> (f32, Color32, Option<Color32>)

Return the height and color with which to draw this value if it is a boolean

Implementors§