From 713e77811791cb3e97d91fe3b6f278a6e3d97bfe Mon Sep 17 00:00:00 2001 From: Robbert van der Helm <mail@robbertvanderhelm.nl> Date: Fri, 4 Mar 2022 14:32:23 +0100 Subject: [PATCH] Add a Default implementation for the transport --- src/context.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/context.rs b/src/context.rs index 3e7e66ec..9ce50801 100644 --- a/src/context.rs +++ b/src/context.rs @@ -82,6 +82,7 @@ pub trait GuiContext: Send + Sync + 'static { /// Information about the plugin's transport. Depending on the plugin API and the host not all /// fields may be available. +#[derive(Debug, Default)] pub struct Transport { /// Whether the transport is currently running. pub playing: bool,