Function cosmic::widget::radio

source ยท
pub fn radio<'a, Message: Clone, V, F>(
    label: impl Into<Element<'a, Message, Theme, Renderer>>,
    value: V,
    selected: Option<V>,
    f: F,
) -> Radio<'a, Message, Renderer>
where V: Eq + Copy, F: FnOnce(V) -> Message,