mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
implement Default traits
This commit is contained in:
parent
1a0b31e695
commit
9b214b1469
55 changed files with 330 additions and 0 deletions
|
|
@ -5,6 +5,12 @@ pub struct About {
|
|||
pub simple_action: SimpleAction,
|
||||
}
|
||||
|
||||
impl Default for About {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl About {
|
||||
// Constructors
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,12 @@ pub struct Close {
|
|||
pub simple_action: SimpleAction,
|
||||
}
|
||||
|
||||
impl Default for Close {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl Close {
|
||||
// Constructors
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,12 @@ pub struct Debug {
|
|||
pub simple_action: SimpleAction,
|
||||
}
|
||||
|
||||
impl Default for Debug {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl Debug {
|
||||
// Constructors
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,12 @@ pub struct Escape {
|
|||
pub simple_action: SimpleAction,
|
||||
}
|
||||
|
||||
impl Default for Escape {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl Escape {
|
||||
// Constructors
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,12 @@ pub struct Profile {
|
|||
pub simple_action: SimpleAction,
|
||||
}
|
||||
|
||||
impl Default for Profile {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl Profile {
|
||||
// Constructors
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,12 @@ pub struct Update {
|
|||
pub simple_action: SimpleAction,
|
||||
}
|
||||
|
||||
impl Default for Update {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl Update {
|
||||
// Constructors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue