Derive Clone for text_input::State
This commit is contained in:
parent
e0bdb203f2
commit
e640b87590
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Default)]
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct State {
|
||||
pub is_focused: bool,
|
||||
cursor_position: usize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue