Commit 82acdfd
authored
# Objective
- derive `Clone` and `Copy` for the newer unit structs in
`interaction_states`, this is useful for frameworks that are generic
over `Component + Clone/Copy` and is also the status quo for the
existing `InteractionDisabled` component defined a few lines above
## Solution
- derive `Clone` and `Copy` for `Pressed`, `Checkable`, and `Checked`
1 parent 86224b5 commit 82acdfd
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments