trait VariableExt {
// Required method
fn bool_drawing_spec(
&self,
user_color: Color32,
theme: &SurferTheme,
value_kind: ValueKind,
) -> (f32, Color32, Option<Color32>);
}Required Methods§
fn bool_drawing_spec( &self, user_color: Color32, theme: &SurferTheme, value_kind: ValueKind, ) -> (f32, Color32, Option<Color32>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl VariableExt for String
impl VariableExt for String
Source§fn bool_drawing_spec(
&self,
user_color: Color32,
theme: &SurferTheme,
value_kind: ValueKind,
) -> (f32, Color32, Option<Color32>)
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