arc_util::ui::render

Function enum_combo

Source
pub fn enum_combo<T>(
    ui: &Ui<'_>,
    label: impl AsRef<str>,
    current: &mut T,
) -> bool
Expand description

Renders a combo box for an enum implementing IntoEnumIterator.