mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-11 09:45:53 +00:00
Derive Default
for Actions
I'm about to move it to a separate crate, which triggers the respective Clippy warning.
This commit is contained in:
parent
e5e58704dd
commit
12860e94e2
@ -133,6 +133,7 @@ impl Handler {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct Actions {
|
||||
pub exit: bool,
|
||||
|
||||
@ -143,12 +144,6 @@ pub struct Actions {
|
||||
|
||||
impl Actions {
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
exit: false,
|
||||
|
||||
toggle_model: false,
|
||||
toggle_mesh: false,
|
||||
toggle_debug: false,
|
||||
}
|
||||
Self::default()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user