Derive Clone for text_input::State

This commit is contained in:
Héctor Ramón Jiménez 2019-11-17 07:03:22 +01:00
parent e0bdb203f2
commit e640b87590

View File

@ -80,7 +80,7 @@ where
}
}
#[derive(Debug, Default)]
#[derive(Debug, Default, Clone)]
pub struct State {
pub is_focused: bool,
cursor_position: usize,