raui_immediate_widgets::core::interactive

Function input_field

Source
pub fn input_field<T: ToString + FromStr + Send + Sync>(
    value: &T,
    props: impl Into<Props>,
    f: impl FnMut(&str, TextInputState, ImmediateButton),
) -> (Option<T>, TextInputState, ImmediateButton)