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

@ -5,6 +5,12 @@ pub struct About {
pub simple_action: SimpleAction,
}
impl Default for About {
fn default() -> Self {
Self::new()
}
}
impl About {
// Constructors

View file

@ -5,6 +5,12 @@ pub struct Close {
pub simple_action: SimpleAction,
}
impl Default for Close {
fn default() -> Self {
Self::new()
}
}
impl Close {
// Constructors

View file

@ -5,6 +5,12 @@ pub struct Debug {
pub simple_action: SimpleAction,
}
impl Default for Debug {
fn default() -> Self {
Self::new()
}
}
impl Debug {
// Constructors

View file

@ -9,6 +9,12 @@ pub struct Escape {
pub simple_action: SimpleAction,
}
impl Default for Escape {
fn default() -> Self {
Self::new()
}
}
impl Escape {
// Constructors

View file

@ -5,6 +5,12 @@ pub struct Profile {
pub simple_action: SimpleAction,
}
impl Default for Profile {
fn default() -> Self {
Self::new()
}
}
impl Profile {
// Constructors

View file

@ -9,6 +9,12 @@ pub struct Update {
pub simple_action: SimpleAction,
}
impl Default for Update {
fn default() -> Self {
Self::new()
}
}
impl Update {
// Constructors