diff options
author | 2022-05-26 23:07:34 +0200 | |
---|---|---|
committer | 2022-05-26 23:07:34 +0200 | |
commit | cf0230072c01ea9523f4d98a3656f5c975b3f347 (patch) | |
tree | ed24c6b90c6e319129e5fe963d50593846aaab72 /examples | |
parent | 7f3b7075db68a215f4331b4bfba1c8ddd1c4d7f3 (diff) | |
download | iced-cf0230072c01ea9523f4d98a3656f5c975b3f347.tar.gz iced-cf0230072c01ea9523f4d98a3656f5c975b3f347.tar.bz2 iced-cf0230072c01ea9523f4d98a3656f5c975b3f347.zip |
Rename `Variant` to `Style` and `Style` to `Appearance`
Diffstat (limited to 'examples')
-rw-r--r-- | examples/component/src/main.rs | 2 | ||||
-rw-r--r-- | examples/pure/component/src/main.rs | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/examples/component/src/main.rs b/examples/component/src/main.rs index d863c58f..ec7c658f 100644 --- a/examples/component/src/main.rs +++ b/examples/component/src/main.rs @@ -96,7 +96,6 @@ mod numeric_input { where Renderer: 'a + text::Renderer, Renderer::Theme: button::StyleSheet, - <Renderer::Theme as button::StyleSheet>::Variant: Default + Copy, { type Event = Event; @@ -175,7 +174,6 @@ mod numeric_input { Message: 'a, Renderer: text::Renderer + 'a, Renderer::Theme: button::StyleSheet, - <Renderer::Theme as button::StyleSheet>::Variant: Default + Copy, { fn from(numeric_input: NumericInput<'a, Message>) -> Self { component::view(numeric_input) diff --git a/examples/pure/component/src/main.rs b/examples/pure/component/src/main.rs index 2f98f768..2c065231 100644 --- a/examples/pure/component/src/main.rs +++ b/examples/pure/component/src/main.rs @@ -90,8 +90,6 @@ mod numeric_input { where Renderer: text::Renderer + 'static, Renderer::Theme: widget::button::StyleSheet, - <Renderer::Theme as widget::button::StyleSheet>::Variant: - Default + Copy, { type State = (); type Event = Event; @@ -163,8 +161,6 @@ mod numeric_input { Message: 'a, Renderer: 'static + text::Renderer, Renderer::Theme: widget::button::StyleSheet, - <Renderer::Theme as widget::button::StyleSheet>::Variant: - Default + Copy, { fn from(numeric_input: NumericInput<Message>) -> Self { pure::component(numeric_input) |