Skip to main content

annotation_helper

Function annotation_helper 

Source
fn annotation_helper<'a>(
    state: &SystemState,
    hover_text: &'a str,
    icon_unselected: &'a str,
    icon_selected: &'a str,
    annotation_kind: AnnotationKind,
) -> (&'a str, Option<AnnotationKind>, &'a str)
Expand description

Helper function to help the annotation buttons know what icon to display and message to send.