input: Add Copy and Eq derives for StepAction (#812)

This commit is contained in:
Floyd Wang 2025-04-24 11:06:32 +08:00 committed by GitHub
parent b0ff230588
commit f7c900d8eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -147,6 +147,7 @@ impl Focusable for NumberInput {
} }
} }
#[derive(Clone, Copy, PartialEq, Eq)]
pub enum StepAction { pub enum StepAction {
Decrement, Decrement,
Increment, Increment,