implement Default traits

This commit is contained in:
yggverse 2025-01-12 14:08:30 +02:00
parent 1a0b31e695
commit 9b214b1469
55 changed files with 330 additions and 0 deletions

View file

@ -6,6 +6,12 @@ pub struct Control {
pub window_controls: WindowControls,
}
impl Default for Control {
fn default() -> Self {
Self::new()
}
}
impl Control {
// Construct
pub fn new() -> Self {