Derive Clone
for text_input::State
This commit is contained in:
parent
e0bdb203f2
commit
e640b87590
@ -80,7 +80,7 @@ where
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Default)]
|
#[derive(Debug, Default, Clone)]
|
||||||
pub struct State {
|
pub struct State {
|
||||||
pub is_focused: bool,
|
pub is_focused: bool,
|
||||||
cursor_position: usize,
|
cursor_position: usize,
|
||||||
|
Loading…
Reference in New Issue
Block a user