Implement Radio in iced_pure
This commit is contained in:
parent
e50e639b0e
commit
53f3820432
3 changed files with 142 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ where
|
|||
) -> Self
|
||||
where
|
||||
V: Eq + Copy,
|
||||
F: 'static + Fn(V) -> Message,
|
||||
F: FnOnce(V) -> Message,
|
||||
{
|
||||
Radio {
|
||||
is_selected: Some(value) == selected,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue