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

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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