iced/style/src
Ian Douglas Scott 47016a37df Do not require Copy for text StyleSheet::Style
For most widgets, `Style` only requires `Default`. A few require
`Clone`. Only this one requires `Copy`.

Some of the types in the default theme has a custom variant requiring
`Box<dyn Trait>`, or `Rc<dyn Trait>` to provide `Clone`, but this isn't
possible if `Copy` is required.

It would be good to also address the inconsistency of requiring `Clone`
in some places and not others.

This removes `style/src/text.rs` which is unused in this branch and thus
confusing. If there's a reason to keep it, that can be removed from the
change.
2023-04-28 10:14:15 -07:00
..
theme Write documentation for iced_style 2022-11-10 01:10:28 +01:00
application.rs Write documentation for iced_style 2022-11-10 01:10:28 +01:00
button.rs Write documentation for iced_style 2022-11-10 01:10:28 +01:00
checkbox.rs Added the ability to change checkbox icon 2023-02-16 14:13:04 +01:00
container.rs Write documentation for iced_style 2022-11-10 01:10:28 +01:00
lib.rs Create iced_widget subcrate and re-organize the whole codebase 2023-03-04 05:37:11 +01:00
menu.rs Write documentation for iced_style 2022-11-10 01:10:28 +01:00
pane_grid.rs Write documentation for iced_style 2022-11-10 01:10:28 +01:00
pick_list.rs Rename pick_list::AccessoryContent to Handle 2022-12-14 03:31:12 +01:00
progress_bar.rs Write documentation for iced_style 2022-11-10 01:10:28 +01:00
radio.rs Write documentation for iced_style 2022-11-10 01:10:28 +01:00
rule.rs Write documentation for iced_style 2022-11-10 01:10:28 +01:00
scrollable.rs Fix inconsistency in default implementation of scrollable::StyleSheet 2023-03-27 15:57:51 +02:00
slider.rs Remove border_radius support for slider::Rail 2023-04-13 05:53:40 +02:00
svg.rs Remove appearance from Handle 2022-12-06 04:34:00 +01:00
text_input.rs Introduce disabled state for TextInput 2023-04-12 03:55:18 +02:00
theme.rs Merge branch 'master' into advanced-text 2023-04-17 23:41:12 +02:00
toggler.rs Write documentation for iced_style 2022-11-10 01:10:28 +01:00