diff --git a/src/app/browser/about.rs b/src/app/browser/about.rs index 466b5a3f..812c864e 100644 --- a/src/app/browser/about.rs +++ b/src/app/browser/about.rs @@ -5,6 +5,12 @@ pub struct About { gobject: AboutDialog, } +impl Default for About { + fn default() -> Self { + Self::new() + } +} + impl About { // Construct pub fn new() -> Self { diff --git a/src/app/browser/action.rs b/src/app/browser/action.rs index bbd1ac1e..02bb5684 100644 --- a/src/app/browser/action.rs +++ b/src/app/browser/action.rs @@ -33,6 +33,12 @@ pub struct Action { pub simple_action_group: SimpleActionGroup, } +impl Default for Action { + fn default() -> Self { + Self::new() + } +} + impl Action { // Constructors diff --git a/src/app/browser/action/about.rs b/src/app/browser/action/about.rs index efef4bd8..dff147e7 100644 --- a/src/app/browser/action/about.rs +++ b/src/app/browser/action/about.rs @@ -5,6 +5,12 @@ pub struct About { pub simple_action: SimpleAction, } +impl Default for About { + fn default() -> Self { + Self::new() + } +} + impl About { // Constructors diff --git a/src/app/browser/action/close.rs b/src/app/browser/action/close.rs index b7a5711d..8a076e66 100644 --- a/src/app/browser/action/close.rs +++ b/src/app/browser/action/close.rs @@ -5,6 +5,12 @@ pub struct Close { pub simple_action: SimpleAction, } +impl Default for Close { + fn default() -> Self { + Self::new() + } +} + impl Close { // Constructors diff --git a/src/app/browser/action/debug.rs b/src/app/browser/action/debug.rs index 48c2ece4..9f720614 100644 --- a/src/app/browser/action/debug.rs +++ b/src/app/browser/action/debug.rs @@ -5,6 +5,12 @@ pub struct Debug { pub simple_action: SimpleAction, } +impl Default for Debug { + fn default() -> Self { + Self::new() + } +} + impl Debug { // Constructors diff --git a/src/app/browser/action/escape.rs b/src/app/browser/action/escape.rs index d57c97d5..23d28e6d 100644 --- a/src/app/browser/action/escape.rs +++ b/src/app/browser/action/escape.rs @@ -9,6 +9,12 @@ pub struct Escape { pub simple_action: SimpleAction, } +impl Default for Escape { + fn default() -> Self { + Self::new() + } +} + impl Escape { // Constructors diff --git a/src/app/browser/action/profile.rs b/src/app/browser/action/profile.rs index e46d1164..1bb000ad 100644 --- a/src/app/browser/action/profile.rs +++ b/src/app/browser/action/profile.rs @@ -5,6 +5,12 @@ pub struct Profile { pub simple_action: SimpleAction, } +impl Default for Profile { + fn default() -> Self { + Self::new() + } +} + impl Profile { // Constructors diff --git a/src/app/browser/action/update.rs b/src/app/browser/action/update.rs index 1cd7b18a..34fdc805 100644 --- a/src/app/browser/action/update.rs +++ b/src/app/browser/action/update.rs @@ -9,6 +9,12 @@ pub struct Update { pub simple_action: SimpleAction, } +impl Default for Update { + fn default() -> Self { + Self::new() + } +} + impl Update { // Constructors diff --git a/src/app/browser/window/action.rs b/src/app/browser/window/action.rs index 74ae9cd0..d3d03d0e 100644 --- a/src/app/browser/window/action.rs +++ b/src/app/browser/window/action.rs @@ -56,6 +56,12 @@ pub struct Action { pub simple_action_group: SimpleActionGroup, } +impl Default for Action { + fn default() -> Self { + Self::new() + } +} + impl Action { // Constructors diff --git a/src/app/browser/window/action/append.rs b/src/app/browser/window/action/append.rs index c4667777..66d1bc9d 100644 --- a/src/app/browser/window/action/append.rs +++ b/src/app/browser/window/action/append.rs @@ -40,6 +40,12 @@ pub struct Append { pub simple_action: SimpleAction, } +impl Default for Append { + fn default() -> Self { + Self::new() + } +} + impl Append { // Constructors diff --git a/src/app/browser/window/action/bookmark.rs b/src/app/browser/window/action/bookmark.rs index 30063230..f7eea930 100644 --- a/src/app/browser/window/action/bookmark.rs +++ b/src/app/browser/window/action/bookmark.rs @@ -14,6 +14,12 @@ pub struct Bookmark { pub simple_action: SimpleAction, } +impl Default for Bookmark { + fn default() -> Self { + Self::new() + } +} + impl Bookmark { // Constructors diff --git a/src/app/browser/window/action/close.rs b/src/app/browser/window/action/close.rs index 17119780..93091f22 100644 --- a/src/app/browser/window/action/close.rs +++ b/src/app/browser/window/action/close.rs @@ -14,6 +14,12 @@ pub struct Close { pub simple_action: SimpleAction, } +impl Default for Close { + fn default() -> Self { + Self::new() + } +} + impl Close { // Constructors diff --git a/src/app/browser/window/action/close_all.rs b/src/app/browser/window/action/close_all.rs index 382de3ad..54893739 100644 --- a/src/app/browser/window/action/close_all.rs +++ b/src/app/browser/window/action/close_all.rs @@ -14,6 +14,12 @@ pub struct CloseAll { pub simple_action: SimpleAction, } +impl Default for CloseAll { + fn default() -> Self { + Self::new() + } +} + impl CloseAll { // Constructors diff --git a/src/app/browser/window/action/find.rs b/src/app/browser/window/action/find.rs index 7f9e7ec7..86adbcac 100644 --- a/src/app/browser/window/action/find.rs +++ b/src/app/browser/window/action/find.rs @@ -14,6 +14,12 @@ pub struct Find { pub simple_action: SimpleAction, } +impl Default for Find { + fn default() -> Self { + Self::new() + } +} + impl Find { // Constructors diff --git a/src/app/browser/window/action/history_back.rs b/src/app/browser/window/action/history_back.rs index 5e1e3a18..b8300a0f 100644 --- a/src/app/browser/window/action/history_back.rs +++ b/src/app/browser/window/action/history_back.rs @@ -14,6 +14,12 @@ pub struct HistoryBack { pub simple_action: SimpleAction, } +impl Default for HistoryBack { + fn default() -> Self { + Self::new() + } +} + impl HistoryBack { // Constructors diff --git a/src/app/browser/window/action/history_forward.rs b/src/app/browser/window/action/history_forward.rs index d36a2a17..2117d64d 100644 --- a/src/app/browser/window/action/history_forward.rs +++ b/src/app/browser/window/action/history_forward.rs @@ -14,6 +14,12 @@ pub struct HistoryForward { pub simple_action: SimpleAction, } +impl Default for HistoryForward { + fn default() -> Self { + Self::new() + } +} + impl HistoryForward { // Constructors diff --git a/src/app/browser/window/action/home.rs b/src/app/browser/window/action/home.rs index e1780520..1647e08c 100644 --- a/src/app/browser/window/action/home.rs +++ b/src/app/browser/window/action/home.rs @@ -14,6 +14,12 @@ pub struct Home { pub simple_action: SimpleAction, } +impl Default for Home { + fn default() -> Self { + Self::new() + } +} + impl Home { // Constructors diff --git a/src/app/browser/window/action/open.rs b/src/app/browser/window/action/open.rs index f10d0129..99805dee 100644 --- a/src/app/browser/window/action/open.rs +++ b/src/app/browser/window/action/open.rs @@ -11,6 +11,12 @@ pub struct Open { pub simple_action: SimpleAction, } +impl Default for Open { + fn default() -> Self { + Self::new() + } +} + impl Open { // Constructors diff --git a/src/app/browser/window/action/pin.rs b/src/app/browser/window/action/pin.rs index e7cb71c9..ac4e7c4c 100644 --- a/src/app/browser/window/action/pin.rs +++ b/src/app/browser/window/action/pin.rs @@ -14,6 +14,12 @@ pub struct Pin { pub simple_action: SimpleAction, } +impl Default for Pin { + fn default() -> Self { + Self::new() + } +} + impl Pin { // Constructors diff --git a/src/app/browser/window/action/reload.rs b/src/app/browser/window/action/reload.rs index 6ffcb5f5..222c1871 100644 --- a/src/app/browser/window/action/reload.rs +++ b/src/app/browser/window/action/reload.rs @@ -14,6 +14,12 @@ pub struct Reload { pub simple_action: SimpleAction, } +impl Default for Reload { + fn default() -> Self { + Self::new() + } +} + impl Reload { // Constructors diff --git a/src/app/browser/window/action/save_as.rs b/src/app/browser/window/action/save_as.rs index 15e27500..d4fd6cbf 100644 --- a/src/app/browser/window/action/save_as.rs +++ b/src/app/browser/window/action/save_as.rs @@ -14,6 +14,12 @@ pub struct SaveAs { pub simple_action: SimpleAction, } +impl Default for SaveAs { + fn default() -> Self { + Self::new() + } +} + impl SaveAs { // Constructors diff --git a/src/app/browser/window/action/source.rs b/src/app/browser/window/action/source.rs index f6b4c9c8..bd5cacc5 100644 --- a/src/app/browser/window/action/source.rs +++ b/src/app/browser/window/action/source.rs @@ -14,6 +14,12 @@ pub struct Source { pub simple_action: SimpleAction, } +impl Default for Source { + fn default() -> Self { + Self::new() + } +} + impl Source { // Constructors diff --git a/src/app/browser/window/header/bar/control.rs b/src/app/browser/window/header/bar/control.rs index c1abf399..05848ac8 100644 --- a/src/app/browser/window/header/bar/control.rs +++ b/src/app/browser/window/header/bar/control.rs @@ -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 { diff --git a/src/app/browser/window/tab/item/action.rs b/src/app/browser/window/tab/item/action.rs index f1c39d50..16ad917c 100644 --- a/src/app/browser/window/tab/item/action.rs +++ b/src/app/browser/window/tab/item/action.rs @@ -12,6 +12,12 @@ pub struct Action { pub load: Rc, } +impl Default for Action { + fn default() -> Self { + Self::new() + } +} + impl Action { // Constructors diff --git a/src/app/browser/window/tab/item/action/ident.rs b/src/app/browser/window/tab/item/action/ident.rs index dfb50c3a..c44d0763 100644 --- a/src/app/browser/window/tab/item/action/ident.rs +++ b/src/app/browser/window/tab/item/action/ident.rs @@ -5,6 +5,12 @@ pub struct Ident { pub simple_action: SimpleAction, } +impl Default for Ident { + fn default() -> Self { + Self::new() + } +} + impl Ident { // Constructors diff --git a/src/app/browser/window/tab/item/action/load.rs b/src/app/browser/window/tab/item/action/load.rs index f680738e..88e83f91 100644 --- a/src/app/browser/window/tab/item/action/load.rs +++ b/src/app/browser/window/tab/item/action/load.rs @@ -9,6 +9,12 @@ pub struct Load { pub simple_action: SimpleAction, } +impl Default for Load { + fn default() -> Self { + Self::new() + } +} + impl Load { // Constructors diff --git a/src/app/browser/window/tab/item/identity/gemini/widget/action.rs b/src/app/browser/window/tab/item/identity/gemini/widget/action.rs index 09d06c30..569a943b 100644 --- a/src/app/browser/window/tab/item/identity/gemini/widget/action.rs +++ b/src/app/browser/window/tab/item/identity/gemini/widget/action.rs @@ -8,6 +8,12 @@ pub struct Action { pub update: Rc, } +impl Default for Action { + fn default() -> Self { + Self::new() + } +} + impl Action { // Constructors diff --git a/src/app/browser/window/tab/item/identity/gemini/widget/action/update.rs b/src/app/browser/window/tab/item/identity/gemini/widget/action/update.rs index d0ad0355..14236856 100644 --- a/src/app/browser/window/tab/item/identity/gemini/widget/action/update.rs +++ b/src/app/browser/window/tab/item/identity/gemini/widget/action/update.rs @@ -5,6 +5,12 @@ pub struct Update { pub gobject: SimpleAction, } +impl Default for Update { + fn default() -> Self { + Self::new() + } +} + impl Update { // Constructors diff --git a/src/app/browser/window/tab/item/identity/unsupported.rs b/src/app/browser/window/tab/item/identity/unsupported.rs index 0becc6a2..c3ab3a4a 100644 --- a/src/app/browser/window/tab/item/identity/unsupported.rs +++ b/src/app/browser/window/tab/item/identity/unsupported.rs @@ -8,6 +8,12 @@ pub struct Unsupported { widget: Rc, } +impl Default for Unsupported { + fn default() -> Self { + Self::new() + } +} + impl Unsupported { // Construct diff --git a/src/app/browser/window/tab/item/identity/unsupported/widget.rs b/src/app/browser/window/tab/item/identity/unsupported/widget.rs index 14b80885..a4df74b9 100644 --- a/src/app/browser/window/tab/item/identity/unsupported/widget.rs +++ b/src/app/browser/window/tab/item/identity/unsupported/widget.rs @@ -12,6 +12,12 @@ pub struct Widget { gobject: AlertDialog, } +impl Default for Widget { + fn default() -> Self { + Self::new() + } +} + impl Widget { // Constructors diff --git a/src/app/browser/window/tab/item/page/client.rs b/src/app/browser/window/tab/item/page/client.rs index 0c6de673..1ed255a3 100644 --- a/src/app/browser/window/tab/item/page/client.rs +++ b/src/app/browser/window/tab/item/page/client.rs @@ -15,6 +15,12 @@ pub struct Client { // other clients.. } +impl Default for Client { + fn default() -> Self { + Self::new() + } +} + impl Client { // Constructors diff --git a/src/app/browser/window/tab/item/page/content/status/download/action.rs b/src/app/browser/window/tab/item/page/content/status/download/action.rs index efafdd39..b54affa1 100644 --- a/src/app/browser/window/tab/item/page/content/status/download/action.rs +++ b/src/app/browser/window/tab/item/page/content/status/download/action.rs @@ -15,6 +15,12 @@ pub struct Action { pub update: Rc, } +impl Default for Action { + fn default() -> Self { + Self::new() + } +} + impl Action { // Constructors diff --git a/src/app/browser/window/tab/item/page/content/status/download/action/cancel.rs b/src/app/browser/window/tab/item/page/content/status/download/action/cancel.rs index d6667f98..4a0336af 100644 --- a/src/app/browser/window/tab/item/page/content/status/download/action/cancel.rs +++ b/src/app/browser/window/tab/item/page/content/status/download/action/cancel.rs @@ -11,6 +11,12 @@ pub struct Cancel { pub action: SimpleAction, } +impl Default for Cancel { + fn default() -> Self { + Self::new() + } +} + impl Cancel { // Constructors diff --git a/src/app/browser/window/tab/item/page/content/status/download/action/complete.rs b/src/app/browser/window/tab/item/page/content/status/download/action/complete.rs index 84fde709..775c2f5a 100644 --- a/src/app/browser/window/tab/item/page/content/status/download/action/complete.rs +++ b/src/app/browser/window/tab/item/page/content/status/download/action/complete.rs @@ -11,6 +11,12 @@ pub struct Complete { pub action: SimpleAction, } +impl Default for Complete { + fn default() -> Self { + Self::new() + } +} + impl Complete { // Constructors diff --git a/src/app/browser/window/tab/item/page/content/status/download/action/update.rs b/src/app/browser/window/tab/item/page/content/status/download/action/update.rs index 6995fe0f..cf6d1840 100644 --- a/src/app/browser/window/tab/item/page/content/status/download/action/update.rs +++ b/src/app/browser/window/tab/item/page/content/status/download/action/update.rs @@ -11,6 +11,12 @@ pub struct Update { pub action: SimpleAction, } +impl Default for Update { + fn default() -> Self { + Self::new() + } +} + impl Update { // Constructors diff --git a/src/app/browser/window/tab/item/page/content/status/download/cancel.rs b/src/app/browser/window/tab/item/page/content/status/download/cancel.rs index 5f8768dd..4f792d3c 100644 --- a/src/app/browser/window/tab/item/page/content/status/download/cancel.rs +++ b/src/app/browser/window/tab/item/page/content/status/download/cancel.rs @@ -11,6 +11,12 @@ pub struct Cancel { pub button: Button, } +impl Default for Cancel { + fn default() -> Self { + Self::new() + } +} + impl Cancel { // Constructors diff --git a/src/app/browser/window/tab/item/page/content/status/download/open.rs b/src/app/browser/window/tab/item/page/content/status/download/open.rs index d2529289..224d7cf9 100644 --- a/src/app/browser/window/tab/item/page/content/status/download/open.rs +++ b/src/app/browser/window/tab/item/page/content/status/download/open.rs @@ -11,6 +11,12 @@ pub struct Open { pub button: Button, } +impl Default for Open { + fn default() -> Self { + Self::new() + } +} + impl Open { // Constructors diff --git a/src/app/browser/window/tab/item/page/content/status/download/progress.rs b/src/app/browser/window/tab/item/page/content/status/download/progress.rs index 2e862fb3..3e3564de 100644 --- a/src/app/browser/window/tab/item/page/content/status/download/progress.rs +++ b/src/app/browser/window/tab/item/page/content/status/download/progress.rs @@ -9,6 +9,12 @@ pub struct Progress { pub spinner: Spinner, } +impl Default for Progress { + fn default() -> Self { + Self::new() + } +} + impl Progress { // Constructors diff --git a/src/app/browser/window/tab/item/page/content/status/download/status.rs b/src/app/browser/window/tab/item/page/content/status/download/status.rs index 68489c78..f95ff233 100644 --- a/src/app/browser/window/tab/item/page/content/status/download/status.rs +++ b/src/app/browser/window/tab/item/page/content/status/download/status.rs @@ -14,6 +14,12 @@ pub struct Status { pub label: Label, } +impl Default for Status { + fn default() -> Self { + Self::new() + } +} + impl Status { // Constructors diff --git a/src/app/browser/window/tab/item/page/content/text/gemini/reader/ansi/tag.rs b/src/app/browser/window/tab/item/page/content/text/gemini/reader/ansi/tag.rs index fe726ce5..1162a635 100644 --- a/src/app/browser/window/tab/item/page/content/text/gemini/reader/ansi/tag.rs +++ b/src/app/browser/window/tab/item/page/content/text/gemini/reader/ansi/tag.rs @@ -6,6 +6,12 @@ pub struct Tag { pub text_tag: TextTag, } +impl Default for Tag { + fn default() -> Self { + Self::new() + } +} + impl Tag { // Constructors diff --git a/src/app/browser/window/tab/item/page/content/text/gemini/reader/syntax.rs b/src/app/browser/window/tab/item/page/content/text/gemini/reader/syntax.rs index 80dcbf8f..69fcca16 100644 --- a/src/app/browser/window/tab/item/page/content/text/gemini/reader/syntax.rs +++ b/src/app/browser/window/tab/item/page/content/text/gemini/reader/syntax.rs @@ -35,6 +35,12 @@ pub struct Syntax { theme_set: ThemeSet, } +impl Default for Syntax { + fn default() -> Self { + Self::new() + } +} + impl Syntax { // Constructors diff --git a/src/app/browser/window/tab/item/page/content/text/gemini/reader/syntax/tag.rs b/src/app/browser/window/tab/item/page/content/text/gemini/reader/syntax/tag.rs index 415f722a..8b52843b 100644 --- a/src/app/browser/window/tab/item/page/content/text/gemini/reader/syntax/tag.rs +++ b/src/app/browser/window/tab/item/page/content/text/gemini/reader/syntax/tag.rs @@ -6,6 +6,12 @@ pub struct Tag { pub text_tag: TextTag, } +impl Default for Tag { + fn default() -> Self { + Self::new() + } +} + impl Tag { // Constructors diff --git a/src/app/browser/window/tab/item/page/content/text/gemini/reader/tag.rs b/src/app/browser/window/tab/item/page/content/text/gemini/reader/tag.rs index ccf50864..d3ae4f5b 100644 --- a/src/app/browser/window/tab/item/page/content/text/gemini/reader/tag.rs +++ b/src/app/browser/window/tab/item/page/content/text/gemini/reader/tag.rs @@ -20,6 +20,12 @@ pub struct Tag { pub plain: TextTag, } +impl Default for Tag { + fn default() -> Self { + Self::new() + } +} + impl Tag { // Construct pub fn new() -> Self { diff --git a/src/app/browser/window/tab/item/page/content/text/plain/reader.rs b/src/app/browser/window/tab/item/page/content/text/plain/reader.rs index 572aa23b..3153f39f 100644 --- a/src/app/browser/window/tab/item/page/content/text/plain/reader.rs +++ b/src/app/browser/window/tab/item/page/content/text/plain/reader.rs @@ -4,6 +4,12 @@ pub struct Reader { widget: Label, } +impl Default for Reader { + fn default() -> Self { + Self::new() + } +} + impl Reader { // Construct pub fn new() -> Self { diff --git a/src/app/browser/window/tab/item/page/input.rs b/src/app/browser/window/tab/item/page/input.rs index be68e120..2241c57a 100644 --- a/src/app/browser/window/tab/item/page/input.rs +++ b/src/app/browser/window/tab/item/page/input.rs @@ -14,6 +14,12 @@ pub struct Input { pub widget: Rc, } +impl Default for Input { + fn default() -> Self { + Self::new() + } +} + impl Input { // Construct pub fn new() -> Self { diff --git a/src/app/browser/window/tab/item/page/input/response/control/counter.rs b/src/app/browser/window/tab/item/page/input/response/control/counter.rs index 5e417bd1..c3e8e956 100644 --- a/src/app/browser/window/tab/item/page/input/response/control/counter.rs +++ b/src/app/browser/window/tab/item/page/input/response/control/counter.rs @@ -8,6 +8,12 @@ pub struct Counter { pub widget: Rc, } +impl Default for Counter { + fn default() -> Self { + Self::new() + } +} + impl Counter { // Construct pub fn new() -> Self { diff --git a/src/app/browser/window/tab/item/page/input/response/control/counter/widget.rs b/src/app/browser/window/tab/item/page/input/response/control/counter/widget.rs index 6b0cec68..84766f59 100644 --- a/src/app/browser/window/tab/item/page/input/response/control/counter/widget.rs +++ b/src/app/browser/window/tab/item/page/input/response/control/counter/widget.rs @@ -4,6 +4,12 @@ pub struct Widget { pub label: Label, } +impl Default for Widget { + fn default() -> Self { + Self::new() + } +} + impl Widget { // Construct pub fn new() -> Self { diff --git a/src/app/browser/window/tab/item/page/input/widget.rs b/src/app/browser/window/tab/item/page/input/widget.rs index 0032d7e2..6c80fa3f 100644 --- a/src/app/browser/window/tab/item/page/input/widget.rs +++ b/src/app/browser/window/tab/item/page/input/widget.rs @@ -7,6 +7,12 @@ pub struct Widget { pub clamp: Clamp, } +impl Default for Widget { + fn default() -> Self { + Self::new() + } +} + impl Widget { // Construct pub fn new() -> Self { diff --git a/src/app/browser/window/tab/item/page/search.rs b/src/app/browser/window/tab/item/page/search.rs index 63292ef5..a9b50936 100644 --- a/src/app/browser/window/tab/item/page/search.rs +++ b/src/app/browser/window/tab/item/page/search.rs @@ -20,6 +20,12 @@ pub struct Search { pub g_box: Box, } +impl Default for Search { + fn default() -> Self { + Self::new() + } +} + impl Search { // Constructors diff --git a/src/app/browser/window/tab/item/page/search/form/input.rs b/src/app/browser/window/tab/item/page/search/form/input.rs index db5e782a..305a9342 100644 --- a/src/app/browser/window/tab/item/page/search/form/input.rs +++ b/src/app/browser/window/tab/item/page/search/form/input.rs @@ -10,6 +10,12 @@ pub struct Input { pub entry: Entry, } +impl Default for Input { + fn default() -> Self { + Self::new() + } +} + impl Input { // Constructors diff --git a/src/app/browser/window/tab/item/page/search/form/navigation.rs b/src/app/browser/window/tab/item/page/search/form/navigation.rs index c52d7c06..5a9b1256 100644 --- a/src/app/browser/window/tab/item/page/search/form/navigation.rs +++ b/src/app/browser/window/tab/item/page/search/form/navigation.rs @@ -22,6 +22,12 @@ pub struct Navigation { model: RefCell>, } +impl Default for Navigation { + fn default() -> Self { + Self::new() + } +} + impl Navigation { // Constructors diff --git a/src/app/browser/window/tab/item/page/search/form/navigation/back.rs b/src/app/browser/window/tab/item/page/search/form/navigation/back.rs index 18527cb2..67b48036 100644 --- a/src/app/browser/window/tab/item/page/search/form/navigation/back.rs +++ b/src/app/browser/window/tab/item/page/search/form/navigation/back.rs @@ -4,6 +4,12 @@ pub struct Back { pub button: Button, } +impl Default for Back { + fn default() -> Self { + Self::new() + } +} + impl Back { // Constructors diff --git a/src/app/browser/window/tab/item/page/search/form/navigation/forward.rs b/src/app/browser/window/tab/item/page/search/form/navigation/forward.rs index 530a6ee1..3f334c8e 100644 --- a/src/app/browser/window/tab/item/page/search/form/navigation/forward.rs +++ b/src/app/browser/window/tab/item/page/search/form/navigation/forward.rs @@ -4,6 +4,12 @@ pub struct Forward { pub button: Button, } +impl Default for Forward { + fn default() -> Self { + Self::new() + } +} + impl Forward { // Constructors diff --git a/src/app/browser/window/tab/item/page/search/form/result.rs b/src/app/browser/window/tab/item/page/search/form/result.rs index 053880e4..0a1053e2 100644 --- a/src/app/browser/window/tab/item/page/search/form/result.rs +++ b/src/app/browser/window/tab/item/page/search/form/result.rs @@ -6,6 +6,12 @@ pub struct Result { pub label: Label, } +impl Default for Result { + fn default() -> Self { + Self::new() + } +} + impl Result { // Constructors diff --git a/src/app/browser/window/tab/item/page/search/placeholder.rs b/src/app/browser/window/tab/item/page/search/placeholder.rs index 7f9b62ae..600527d2 100644 --- a/src/app/browser/window/tab/item/page/search/placeholder.rs +++ b/src/app/browser/window/tab/item/page/search/placeholder.rs @@ -6,6 +6,12 @@ pub struct Placeholder { pub label: Label, } +impl Default for Placeholder { + fn default() -> Self { + Self::new() + } +} + impl Placeholder { // Constructors