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 Ident {
|
|||
pub simple_action: SimpleAction,
|
||||
}
|
||||
|
||||
impl Default for Ident {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl Ident {
|
||||
// Constructors
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,12 @@ pub struct Load {
|
|||
pub simple_action: SimpleAction,
|
||||
}
|
||||
|
||||
impl Default for Load {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl Load {
|
||||
// Constructors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue