1
0
Fork 0

Add a Default implementation for the transport

This commit is contained in:
Robbert van der Helm 2022-03-04 14:32:23 +01:00
parent a483dbc6a6
commit 713e778117

View file

@ -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,