From e640b875900a3833fd38efa195e99b40ec3f6820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Sun, 17 Nov 2019 07:03:22 +0100 Subject: [PATCH] Derive `Clone` for `text_input::State` --- core/src/widget/text_input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/widget/text_input.rs b/core/src/widget/text_input.rs index 450a7cae..16c67954 100644 --- a/core/src/widget/text_input.rs +++ b/core/src/widget/text_input.rs @@ -80,7 +80,7 @@ where } } -#[derive(Debug, Default)] +#[derive(Debug, Default, Clone)] pub struct State { pub is_focused: bool, cursor_position: usize,